![]() ![]() ![]() That way, if anything goes sideways, you haven't lost any of your files. One last, last thing: take a backup of all your stuff before you do anything, and, preferably, have it disconnected. It'll be a bit slower due to network latency and bandwidth, but if you've got a big library, it'll take a long time anyway. One last thing: you can run either of these applications on your Synology, but if it's easier for you, just mount your Synology drive on another computer and run the software there. Know that different cameras and phones can store the captured-at time in a ton of different tags: (btw: ExifTool won't parse datestamps from sibling files or from pathnames: that's exclusive afaik to PhotoStructure). If you'd rather use a UI, you can use PhotoStructure's " automatic organization" feature (which uses ExifTool under the hood). Is an example, and if you search on his forum there are many other worked examples. The -AllDates was not update because I wrong used -p insteal -P and also because it's not necessary -d option.If you're comfortable with the command line, this is easy to do with ExifTool. So I fixed my regex and it stopped move the file. When I use the same command in root directory, the command rename de file, but because the name also have "/", like Phil said, the file is moved to root directory. When I tested the command, I specified the file and for this case I don't have "./" in -directory tag.I don't know why because I thought that I have to use -d option to set the format for date/time tag values. The semicolon after the tag name inside the braces causes characters which are. So after doing more tests I found if I don't use -d option I get what I want: Rename all files in dir by adding the camera model name to the file name. I'll use -PreservedFileName as you suggest.Īnd if it's possible doing all steps in the same command. Update a field with the original name file.Update -AllDates field using the date extract from directory name.Original File Name: Convivio Recepção ao caloiro Pólo II 2004 (208).JPGĭirectory: Convivio Recepção ao caloiro Pólo IIįinal name: 20040924-000000-000-Convivio Recepção ao caloiro Pólo II 2004 (208).JPG Rename a file with this format YearMonthDay-HourMinuteSecond-Miliseconds-OriginalName.In files that I can't extract any date from tags of the file I want to get the date from directory name and: Sorry the long post, I'm try explain what I want: Preserved File Name : Convivio Recepção ao caloiro Pólo II 2004 (208).JPG $ exiftool -m -a -r -filename -directory -AllDates -PreservedFileName \\ Convivio\ Recepção\ ao\ caloiro\ Pólo\ II/20040924-000000-000-Convivio\ Recepção\ ao\ caloiro\ Pólo\ II\ 2004\ \(208\).JPGįile Name : 20040924-000000-000-Convivio Recepção ao caloiro Pólo II 2004 (208).JPGĭirectory : Convivio Recepção ao caloiro Pólo II Perfect for any kind of file renaming including music and photo files. The standard EXIF date/time format is "YYYY:mm:dd HH:MM:SS". ExifTool is a platform-independent Perl library plus a command-line application. # -AllDates -> Get data for name of directory (HH:MM:SS are 0). ![]() # -FileName -> Get date for name of directory ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |