-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why doesn't it move the newest file? #156
Comments
Can you validate if this is only happening when using |
I take a lot of screenshots (they are usually png) but I put a jpg in that folder this morning and tested:
Here is a JPG and a PNG from this morning as well as the PNG that failed from my previous post and one other PNG from yesterday. I copied the ones from yesterday into this folder from their post-sort folder (and deleted the ones in the sorted date folder) so the |
So that’s what I thought. PNG by it’s standard doesn’t embeds EXIF data, or at least not in a default format. So as the output shows the timestamp used is the Maybe you created the screenshots using different tools? Or touched them somehow a modified date would sometimes be set? Further readings on PNG and EXIF: https://stackoverflow.com/a/9576717/520631 |
I have one file created today but sortphotos.py doesn't see it as having a valid date. Is there a newness limit to what it considers?
See file [1/3] below:
Also on a related note, is there a way to make the script ignore files less than 30 days old? I'd like to keep the newest 30 days of files in the root folder and only move older files.
The text was updated successfully, but these errors were encountered: