Preserve "original" date when copying file?
I am using a Windows XP laptop and having a very small query. I want to copy some files on my drive but as we all know the date shown is the one when you copy any file or folder on the system. But I want to preserve the "original" date the file was created instead of the date it was copied. Is that possible?
If yes, please let me know how. Many Thanks.
Re: Preserve "original" date when copying file?
$ cp file1 file1copy
$ touch -r file1 file1copy
Cygwin makes XP liveable.
$ man touch
for other options, like you want to make up a date and time.
I use it to put the time a photo was taken on its *.jpg file.
|Tags: windows xp|
|Thread Tools||Search this Thread|
|Similar Threads for: "Preserve "original" date when copying file?"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Outlook Accounts "an error while copying file offilt.dll"||soniczx5||Windows Software||1||17-08-2011 02:26 PM|
|Card reader error "Device can?t start code 10" "WPD file system volume driver" in windows 7||Musharat||Operating Systems||4||12-02-2011 07:10 AM|
|"...copy this file without its properties?" message while copying Internet bookmarks to thumbdrive||MindFu@er||Operating Systems||5||25-01-2011 08:08 AM|
|"unable to create the file" "the system cannot find the file specified"||Leo Wandersleb||Windows Server Help||3||20-03-2008 09:23 PM|
|Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove"||Green_XP||Windows XP Support||1||06-11-2007 02:18 PM|