diff options
author | pacien | 2020-05-02 04:11:24 +0200 |
---|---|---|
committer | pacien | 2020-05-02 04:11:24 +0200 |
commit | 8e3ac8fe44bebb38e1882ca7f06b8100078ad88d (patch) | |
tree | a748fa1e639cb3b5e1f24a8150e89dbb28c980cb /scripts/win_generate_yaml_files.cmd | |
parent | 7042ffc06326fa8ffe70f5a59747709250166c16 (diff) | |
parent | 0e0b5b0ae44da7c1d67983dedd8f8d8d3516236f (diff) | |
download | ldgallery-8e3ac8fe44bebb38e1882ca7f06b8100078ad88d.tar.gz |
Merge branch 'develop': release v1.0v1.0
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 | ) | ||