Preserve file modify date on copy using ReiserFS plugin
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
Preserve file modify date on copy using ReiserFS plugin
Hello all. I extensively used the search function to try to find this answer and could not.
I'm using TC to transfer files from a sick disk with a logical partition in the ReiserFS format.
The copy is successful, however the files' modified dates are all current. For example, I copy 10 files with modify dates from 1999 and the destination folder with the 10 successfully copied files shows 2011-06-13.
I really want to preserve the original file dates for sentimental reasons (they are personal files from 12+ years ago).
Is there a way to do this in TC? If not, can I export an XML or other document that contains the original directory tree and files including modified date? If I can do this, I can write an application to modify all the files' dates. I've got about 8500 files in an elaborate directory structure to deal with, so manually editing them is not desired.
Thanks!
I'm using TC to transfer files from a sick disk with a logical partition in the ReiserFS format.
The copy is successful, however the files' modified dates are all current. For example, I copy 10 files with modify dates from 1999 and the destination folder with the 10 successfully copied files shows 2011-06-13.
I really want to preserve the original file dates for sentimental reasons (they are personal files from 12+ years ago).
Is there a way to do this in TC? If not, can I export an XML or other document that contains the original directory tree and files including modified date? If I can do this, I can write an application to modify all the files' dates. I've got about 8500 files in an elaborate directory structure to deal with, so manually editing them is not desired.
Thanks!
- sqa_wizard
- Power Member
- Posts: 3864
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Well, use the synchronize directory function.
Just browse to the same directory on both drives and call "synchronize dirs" function.
- Enable "subdirs" option and deactivate "singles" button
- Do a compare
- Mark all files (Ctrl + A)
- Show context menu and select "Copy file properties" (choose direction as required)
- Enable "Time stamp" option only.
Just browse to the same directory on both drives and call "synchronize dirs" function.
- Enable "subdirs" option and deactivate "singles" button
- Do a compare
- Mark all files (Ctrl + A)
- Show context menu and select "Copy file properties" (choose direction as required)
- Enable "Time stamp" option only.
#5767 Personal license
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
That did not work. The destination directory contains the successfully copied files with today's date.
If I enable "subdirs" and disable "singles" button, no files result in the "Compare".
If I reselect the "singles" button, the files show up on "Compare".
I then do a CTRL+A
Right click, Copy file properties (make sure timestamp is checked, it is by default. Attributes are not checked). No change on this dialog.
Click Synchronize
All files are today's timestamp
If I enable "subdirs" and disable "singles" button, no files result in the "Compare".
If I reselect the "singles" button, the files show up on "Compare".
I then do a CTRL+A
Right click, Copy file properties (make sure timestamp is checked, it is by default. Attributes are not checked). No change on this dialog.
Click Synchronize
All files are today's timestamp
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Are the file dates shown by the plugin itself correct?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
Yes, the source dates are correct.ghisler(Author) wrote:Are the file dates shown by the plugin itself correct?
Image: http://i.imgur.com/zNeQA.png
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Do you use some kind of background virus scanner? Some scanners can prevent the copying of the file date because they lock the files after copying (to scan them).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
No virus scanner. I originally tried on my Windows 7 machine, same results. Then, I built this Windows XP machine from scratch (vanilla install) and the first thing installed was TC. Same results.ghisler(Author) wrote:Do you use some kind of background virus scanner? Some scanners can prevent the copying of the file date because they lock the files after copying (to scan them).
Let me ask, if there is not a way to copy the file modify date easily, is there a way to export a recursive list from the source directory of the directories and file names that would include modify date? If so, I can that and script out the mod date on the destination.
Thanks for your help!
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You can use "Synchronize dirs" to compare source and target (recursively). Then select all with Ctrl+A, open the context menu, and choose to copy the attributes. It allows to copy also the timestamps.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Search for all files *.*Let me ask, if there is not a way to copy the file modify date easily, is there a way to export a recursive list from the source directory of the directories and file names that would include modify date? If so, I can that and script out the mod date on the destination.
- Feed to list box
- create and select a new "custom column view" and add "[=tc.writedate]"
- Ctrl+A
- "Mark->Copy to Clipboard with all details"
Separator between path and date is a tab(\t) character.
HTH
Holger
Make our planet great again
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
Oh so close! I did a *.* search, got all results of course. Added a column via Show>Custom Columns Mode>Configure custom columns...>New (Name:ModDate)>Add column>(Field contents=[tc.writedate])>Ok.HolgerK wrote:- Search for all files *.*Let me ask, if there is not a way to copy the file modify date easily, is there a way to export a recursive list from the source directory of the directories and file names that would include modify date? If so, I can that and script out the mod date on the destination.
- Feed to list box
- create and select a new "custom column view" and add "[=tc.writedate]"
- Ctrl+A
- "Mark->Copy to Clipboard with all details"
Separator between path and date is a tab(\t) character.
HTH
Holger
Now my new column named "ModDate" = Today's date
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
Also, I have tried other ReiserFS drive reader apps and TC w/reiserfs plugin is the ONLY one that will happily read the drive. Even a native Linux ReiserFS driver can't. I will gladly buy a copy of TC (I'm being a freeloader right now) if I can get this to work.
So frustrating because on the source pane on the left, all the dates are correct.
So frustrating because on the source pane on the left, all the dates are correct.
-
- Junior Member
- Posts: 9
- Joined: 2011-06-14, 00:48 UTC
For files I have no issues the date/time is preserved.
For folders it does not get preserved and I could not find how to do that.
And the synchronized dirs won't solve it either. I used v 8.01, updated to 8.51, with no difference, with either copy or synchronize dirs. Then also tried the copy NTFS Permissions just in case to no avail.
For folders it does not get preserved and I could not find how to do that.
And the synchronized dirs won't solve it either. I used v 8.01, updated to 8.51, with no difference, with either copy or synchronize dirs. Then also tried the copy NTFS Permissions just in case to no avail.