Flemur wrote:Do you want to list the files with dates, or do you ultimately want to have the correct date on the files on your computer?
If the latter and you don't get a better answer, you might try "touch", and use it to either add 5 hours back onto the date, or use the date from the EXIF data with "exiftool". { snip }
there are various circumventions, but, being and old programmer, it bugs me that this has not been programmed properly
the easy, quick way is to not use the tether cable and simply read the SD chip
i did write a script to fix files,--
Code: Select all
#!/bin/sh
#
# reset jpeg file by n hours
#
echo "correct *.JPG time stamps. Enter hours, e.g. +4 for UTC to EDT"
read hrs_adj
echo "Adjustment will be " $hrs_adj " hours. "
read -p "Enter name of directory to be corrected" directory_name
echo "Directory name: " $directory_name
for file_nm in "$directory_name"/*.JPG
do
echo "File name to touch: " "$file_nm"
# to increment time stamp relative to subject file
touch -r "$file_nm" -d " $hrs_adj hour " "$file_nm"
done
echo "Corrected Directory:"
ls -l "$directory_name"
echo "done"
I'm using LMDE/2 -- and my copy of DarkTable doesn't work right . evidently there are updates but these have to be pulled in from back-packages or something like that -- a tricky procedure
I wonder why we don't have our packages updated better . I wonder what it takes to become a package manager
on LibreOffice for example -- that one is re-distributed just as a tarball containing .deb packages -- which makes it easy to remove the existing program and install the new one . i wish DarkTable would make a .deb update available