On Thu, 29 Sep 2022 05:56:25 -0700, John C. wrote:
> I've had to manually sort hundreds of photos into date-taken-named
> folders for friends and relatives over the years. A program which can do
> this automatically and based on EXIF data in the files seems like a good
> idea to me.
[...]
> Anybody have another such (Windows) program that they like to use?
I usually use the command line exiftool program. IIRC, you are more a
GUI guy, though. Therefore, the following is a small how-to for the
GUI version.
Get the latest version (v5.16; very old, but it still works) of the
ExifToolGUI program from here:
https://exiftool.org/forum/index.php?topic=2750.0
Extract the content of the *.zip into a folder of your choice. (Best,
/not/ to use an UAC protected folder like C:\Programs\..., because
settings are written to a subfolder.)
Get the latest exiftool command line version from here:
https://exiftool.org (Second box: "Windows Executable")
Extract exiftool(-k).exe to the main ExifToolGUI folder and rename this
program to exiftool.exe
Start ExifToolGUI and "Browse" to the folder containing the images.
Once you select this folder, all files residing inside should be visible
in the main "Filelist" tab. Set a filter (like *.jpg), if necessary.
(You can enter /any/ valid DOS file filter string containing * and ?
wildcards and optionally add them for later re-use with the "Edit"
button.
Select the files you wish to move to Date-Folders. (Clicking on the
first one and hitting <Shift><End> selects all.) Please note: If no
files are selected, the following command(s) will /not/ be executed
for all files of the current folder. Instead, you'll just get an
error message.
If you just want to add a %date% prefix to each file, you can do so
by selecting the menu entry Various -> File: Name=... (It opens a
file rename dialog.)
To rename to subfolders, you need to call ExifTool directly, though.
Hit the so-named button on the bottom of the GUI window. This should
open a command line, where you can enter exiftool commands. Enter the
following command line:
"-Directory<FileModifyDate" "-Directory<DateTimeOriginal" -d %Y-%m-%d
It is evaluated from right to left and will use FileModifyDate (= the
date/time, when the file was modified last), when no DateTimeOriginal
(= the Exif date/time) is present in a file. For a reference of valid
date/time format values, have a look here:
https://man7.org/linux/man-pages/man3/strftime.3.html
Hit the Return key (= Enter) after entering above mentioned command line.
You may see a Windows error message ("Access violation"). The command is
executed, nevertheless. Double click on the folder name in the "Browse"
tab to refresh it and see the newly created subfolder(s).
To save the above command for later use, click on the "Edit predefined"
button, choose an appropriate "Command name" and hit the "Add new"
button. From now on, you can select above command line from the drop
down menu on the left side of the "Edit predefined" button. To execute
the command on selected files (not necessarily only images, because
FileModifyDate will be available for /any/ file!), you'll always need
click in the Command line containing the command and hit Enter. (As
the edit box caption says.)
HTH.
BeAr
--
===========================================================================
= What do you mean with: "Perfection is always an illusion"? =
===============================================================--(Oops!)===