I use a Python backup script for my files and I back up from my hard drive to both pen drives that are detached from my PC and permanently attached external drives.
I have logic in my script that does a copy from source to destination only if the source file is newer.
If the destination file is newer, I just report an error and don't do any copy.
This works well for the permanently attached external drives. But for the the pen drives, for most of the files, the destination file is reported as being newer than the source file.
I use my pen drives for backups only and never for anything else. So it is impossible for files on the pen drives to be newer.
What could be the problem?
Thank you, Vishy