
Where data is transferred via USB stick or via FTP etc., often the original creation date will not be adopted but the date of the data transfer will be set as new ‘creation date’. When importing images from your digital camera or smartphone to your computer, the new creation date is the date of the data import and does no longer correspond to the original ‘date taken’. After restoring a data backup, several backup programs accept the date when the backup was restored as the new ‘creation date’. When setting up a new PC, the date of data transfer to the new hard disk will be set as the new ‘creation date’. When copying files, Windows (as other operation systems do as well) modifies the original ‘creation date’ to the date of copying. The creation date of files can often be changed unintentionally. Possible reasons are: Why Has The “Creation Date” / “Date Taken” Been Changed? How To Correct File Date “Created” and “Modified” And Restore Original „Date Taken“ / „Date Created“ġ. Why Has The „Creation Date“ / „Date Taken“ Been Chang ed?. In this post you learn how easily you can restore the original modification and creation date of your documents, pictures, videos and audio files. Similarly, various applications demand a correct file date for further data processing.īut when and where is a file date set and why will it be changed again? If you prefer to go by that to when the file's contents were modified, use -ctime in place of -mtime: find / -name app -type d -ctime 0įor both -mtime and -ctime, the original creation of the file qualifies as a modification / status change.How To Correct Wrong System Date “Created” And “Modified”Ī correct ‘creation date’ or ‘date taken’ can be important if files should be listed in chronological order. But the time at which its metadata were last changed (e.g., name/location, ownership, permissions) is stored.
When a file was created is not typically stored in the filesystem. It will also match folders with modification timestamps in the last day that were created earlier, but you probably don't have many such folders whose exact name is app. (Thus the time in days since the file was modified is rounded down to the nearest integer for purposes of being matched by -mtime.)Ĭreation is considered a form of modification for the purpose of file timestamps, so this will work even if the file's contents weren't altered after it was created. O match -mtime 0, a file will have to have a modification in the past which is less than 24 hours ago. In particular see the explanation of the -mtime flag and the " find $HOME -mtime 0" example:
that were modified more recently than one day (i.e., 24 hours) ago ( -mtime 0),.