diff options
author | Zero~Informatique | 2020-02-13 16:30:38 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-13 16:43:07 +0100 |
commit | 9c2af5dcd2d2c8754e4c74e02141822c0964a5a8 (patch) | |
tree | 280836d2d4e931a294e1beebf37c0ee886901b5f /scripts/win_generate_yaml_files.cmd | |
parent | af4660b4c4fea455dfffbf2d966bae425ed6effb (diff) | |
download | ldgallery-9c2af5dcd2d2c8754e4c74e02141822c0964a5a8.tar.gz |
moved utility scripts to their dedicated folder
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 | ) | ||