diff options
Diffstat (limited to 'scripts/win_generate_yaml_files.cmd')
-rw-r--r-- | scripts/win_generate_yaml_files.cmd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/win_generate_yaml_files.cmd b/scripts/win_generate_yaml_files.cmd new file mode 100644 index 0000000..edb7f91 --- /dev/null +++ b/scripts/win_generate_yaml_files.cmd | |||
@@ -0,0 +1,21 @@ | |||
1 | @echo off | ||
2 | |||
3 | REM Copy this file to your picture directory to quickly generate the YAML templates | ||
4 | REM =============================================================================== | ||
5 | |||
6 | for %%f in (*.jpg,*.png,*.gif) do ( | ||
7 | if exist "%%f.yaml" goto CONTINUE | ||
8 | @echo %%f | ||
9 | ( | ||
10 | echo title: %%f | ||
11 | echo. | ||
12 | echo datetime: | ||
13 | echo. | ||
14 | echo description: | ||
15 | echo. | ||
16 | echo tags: | ||
17 | echo - not_tagged | ||
18 | ) >> "%%f.yaml" | ||
19 | :CONTINUE | ||
20 | rem | ||
21 | ) | ||