![]() ![]() In order to burn a CDROM, you may require an ISO 9660 mode 1 file systems where filenames are in UPPER case and up to 8 3 characters.įor this option, Namexif computes how many seconds elapsed between photo EXIF date and. 1:00:32 will add 1 hour and 32 seconds.The format is H:MN:SS where H is for Hours, MN is for minutes, SS is for seconds. This is useful to synchronize multiple cameras or to compensate a jet-lag. This option allows to adjust time from seconds to hours. In case several photos have the same date, Namexif adds a suffix to differentiate filenames with same date.įor example, if you have 3 photos taken on August 15th 2019 at 6PM 5mn and 27 seconds: What if two or more pictures have the same EXIF date? Similarly, a timestamp is set to each video files that Namexif is able to extract in order to rename the video file.īy default, Namexif renames photos starting with the year, then month, day, hour, minute, second.ĭoing so keeps chronological order right when your file browser displays filenames in alphabetical order. Since the date and time is recorded within each photos, Namexif reads EXIF data and renames photos by date taken. The format is "YYYY:MM:DD HH:MM:SS" with time shown in 24-hour format, and the date and time separated by one blank character. You'll find it here.Digital cameras embeds a clock and for every photo shot the date and time is saved within the digital picture.ĭigital pictures are saved using the EXIF standard file format.ĮXIF provides a DateTime tag that is the date and time of image creation. There is also another program that can be used to rename thje files after theit exif data. Run without deletion first so you can see what's going to happen. There are also options that you can use to delete the duplicates:įdupes -recurse -omitfirst -sameline ~/photos | xargs rmīe careful of any option that automatically deletes files. Will list all duplicate files in your photos directory. This compares the contents of files, so it will find duplicates even if they have different names and timestamps. The solution to your duplicates problem is a program called fdupes (available from or as an RPM for FC6). Open the terminal in the appropriate folder and type: When you don't have good EXIF data in the files, than a simple redate command can be used with the touch command. This will stop any files being overwritten. The final command renames the file, using the -i option to mv in case two files have the same timestamp. The next line sets the file's timestamp to this date the horrible looking sed regular expression is necessary to insert a dot before the final two characters, because the touch command expects the seconds to be separated from the rest of the time string like this. ![]() The next extracts the Date/Time Original tag from each file (you may need to use Create Data instead, depending on your camera) and removes the spaces and colons. The first line finds all *.jpg files in the current directory and below. For example:įind -name '*.jpg' | while read PIC do DATE=$(exiftool -p '$DateTimeOriginal' $PIC | sed 's///g') touch -t $(echo $DATE | sed 's/\(.$\)/\.\1/') $PIC mv -i $PIC $(dirname $PIC)/$DATE.jpg done You can use this information to rename the files or change their timestamps. My favourite is ExifTool (ExifTool can read and manipulate just about any EXIF information, including extracting the Date/Time Original or Create Data EXIF tags. There are several programs capable of working with EXIF data. #I removed this line since I didn't want to move the files. Now you can see it changeing life in your filemanager.ĭATE=$(exiftool -p '$Createdate' $PIC | sed 's///g') Make the file executable and execute it by double clicking in nautilus. On this website I read an interesting solution when you want the linux creation data to be the same as the date in the exif data.īut I modified the tool a bit to suit my needs: Copy and paste in Gedit, and save as exifrename.sh in the directory where you want to change the filedata. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |