One thing to keep in mind is when you move your photos out of the data directory any shares you have will get removed. Sudo -u www php occ files:scan user or -all Your images should now show up in the correct dates. Im not sure why files:scan does not update the info with the new date but I assume its because it thinks its already in the database so it skips that file info update. when moving your files around on this step be sure to use cp -p or mv on the same disk so that time stamps are kept. once the files:scan is complete move the Photos back into the Photos folder and perform another files:scan. when you check the IOS devices you should see no Photos. If you can already see your files in your IOS app incorrectly date sorted you must move the folder out of the data path and perform a files:scan. Once the files are in place this is the gotcha and Iâm not sure if this is a bug or just the way it works. If your files are on a external disk you can mount the disk and copy them using cp -p the -p preserves times stamps. you can simply move them into the Photos folder of the user you want them in. If your files are in a different folder but on the same dataset/diskset. If your files are already on nextcloud filesystem your good to go to files:scan steps If there was a file that could not be renamed and it also has a create date this will correct the file modify date. the ExifRenamer tool will do that for you.Ä®xiftool -ee -r â-FileModifyDate Use the exiftool to set the file modify date to the file name date. so I do another step.Īt this point all files that have a exif readable date are renamed. It does not update the file modified date to the correct date in batch renaming. I create a new folder style with the format of %Y%M This tool takes the file and renames it to YYYY-MM-DD_HH-MM-SS. this one tool can do it all but I find it easier to do the file rename with the gui tool ExifRenamer Im using macOS so you may need to translate this to your OS of choice. Here is the process I used to correct my images frustratingįor files that did not have and exif date I was lucky that the original file was saved in a date format like YYYY-MM-DD_HH-MM-SS.png Some of my files did not contain an exif original date so when copied to another drive the file modified date was updated moving the files to the most current date. simply updating the exif file modification time doesnât completely fix the issue.Äepending on the device the image was created on and the type of encoding some exif data may not always be present. The problems come when trying to correct this. in fact you can always revert to the original image on IOS. you donât see this in IOS because when you edit an image it keeps the original image intact. nextcloud and every other tool out there uses this file modification date to show the files sorted by modification date not create date. if you edit a file the file modification is updated. every time you copy a file from one disk to another the file modification information is updated. When things can get funky is when youâre trying to manipulate your collection of images. When adding images to the nextcloud environment everything is dated and sorted by date correctly if it is a brand new picture taken at that time. This is more of my findings than a support question⦠Iâm hoping this can help other peopleâ¦
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |