create date based folders and moved renamed pics there
I have folders of pics that I want to:
create folders/subfolders of yyyy/mmmm if they don't already exists
rename pics yyyymmdd_increment.jpg and move into correct folder/subfolder
the renaming rules are easy. i can't figure out how to create the folder structure and move the files there.
any thoughts?
create folders/subfolders of yyyy/mmmm if they don't already exists
rename pics yyyymmdd_increment.jpg and move into correct folder/subfolder
the renaming rules are easy. i can't figure out how to create the folder structure and move the files there.
any thoughts?
Reply to #1:
I use this script:
date = app.parseTags("<ExifTool:DateTimeOriginal>").split(/[_ ]/);
EXT1 = app.parseTags("<ExifTool:FileTypeExtension>")
EXT2 = EXT1.toUpperCase()
Y = date[0];
M = date[1];
D = date[2];
h = date[3];
m = date[4];
s = date[5];
item.newPath = "N:\\" + EXT2 + "\\" + Y + "\\" + M + "\\" + D;
return item.name;
I use this script:
date = app.parseTags("<ExifTool:DateTimeOriginal>").split(/[_ ]/);
EXT1 = app.parseTags("<ExifTool:FileTypeExtension>")
EXT2 = EXT1.toUpperCase()
Y = date[0];
M = date[1];
D = date[2];
h = date[3];
m = date[4];
s = date[5];
item.newPath = "N:\\" + EXT2 + "\\" + Y + "\\" + M + "\\" + D;
return item.name;