aboutsummaryrefslogtreecommitdiff
path: root/scripts/win_generate_yaml_files.cmd
blob: edb7f9167e8f90f003a27cca4bfd3853e6511a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
)