From 9c2af5dcd2d2c8754e4c74e02141822c0964a5a8 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 13 Feb 2020 16:30:38 +0100 Subject: moved utility scripts to their dedicated folder --- scripts/win_generate_yaml_files.cmd | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/win_generate_yaml_files.cmd (limited to 'scripts/win_generate_yaml_files.cmd') 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 @@ +@echo off + +REM Copy this file to your picture directory to quickly generate the YAML templates +REM =============================================================================== + +for %%f in (*.jpg,*.png,*.gif) do ( + if exist "%%f.yaml" goto CONTINUE + @echo %%f + ( + echo title: %%f + echo. + echo datetime: + echo. + echo description: + echo. + echo tags: + echo - not_tagged + ) >> "%%f.yaml" + :CONTINUE + rem +) -- cgit v1.2.3