mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
added some preliminary windows scripts...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1f485cfb25
commit
b574cac381
1
scripts/cleannwcache.bat
Executable file
1
scripts/cleannwcache.bat
Executable file
@ -0,0 +1 @@
|
|||||||
|
del /f "%USERPROFILE%/Local Settings/Application Data/ImageGrid.Viewer"
|
||||||
25
scripts/process-archive.bat
Executable file
25
scripts/process-archive.bat
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
@echo off
|
||||||
|
rem this is just a stub...
|
||||||
|
rem
|
||||||
|
|
||||||
|
set ARCHIVE_ROOT=
|
||||||
|
|
||||||
|
|
||||||
|
set METADATA_DIR=metadata
|
||||||
|
set RAW_PREVIEW_DIR=hi-res (RAW)
|
||||||
|
set PROCESSED_PREVIEW_DIR=preview
|
||||||
|
|
||||||
|
set PROCESSED_PREVIEW_NAME=%%-:1d/%PROCESSED_PREVIEW_DIR%/%%f.jpg
|
||||||
|
set PREVIEW_NAME=%%-:1d/%RAW_PREVIEW_DIR%/%%f.jpg
|
||||||
|
set JSON_NAME=%%-:1d/%METADATA_DIR%/%%f.json
|
||||||
|
|
||||||
|
|
||||||
|
exiftool -if $jpgfromraw -b -jpgfromraw -w "%PREVIEW_NAME%" ^
|
||||||
|
-execute -if $previewimage -b -previewimage -w "%PREVIEW_NAME%" ^
|
||||||
|
-execute -FileModifyDate^<DateTimeOriginal -tagsfromfile @ ^
|
||||||
|
-srcfile "%PREVIEW_NAME%" -overwrite_original ^
|
||||||
|
-execute -j -w "%JSON_NAME%" ^
|
||||||
|
-common_args --ext jpg -r "./%ARCHIVE_ROOT%" -progress
|
||||||
|
|
||||||
|
|
||||||
|
rem vim:set nowrap :
|
||||||
Loading…
x
Reference in New Issue
Block a user