Page 1 of 1

Copy Folder - Folder Date NOT to change

Posted: Thu 09 Dec, 2010 03:06
by rs3d
Is there a option that when a folder is copied, the copied version
has the same date as the original? With FARs defaults the folder
gets the current system date...

ExampeDir (1.1.2001) -> COPY: ExampleDir (8.12.2010)

I couldn't find the option in case there is one. Thanks a lot!

Re: Copy Folder - Folder Date NOT to change

Posted: Thu 09 Dec, 2010 07:47
by Игорь Юдинцев
A possible workaround: copy it as usual, then run the macro for Far 2.0 (Far 1.7x) (with this .REG file imported to the registry, it is invoked by pressing CtrlAltQ).
The macro copies the timestamps of all files from active to passive panel.

Re: Copy Folder - Folder Date NOT to change

Posted: Thu 09 Dec, 2010 20:40
by rs3d
Thank you for the idea but it doesn't work for Folders under Win7 64bit :(

Re: Copy Folder - Folder Date NOT to change

Posted: Thu 09 Dec, 2010 23:29
by Игорь Юдинцев
The macro uses keyboard shortcuts to access timestamp fields in file attributes change dialog.
These shortcuts have been changed in recent Far 2.0 builds, so the macro needs to be updated:

Re: Copy Folder - Folder Date NOT to change

Posted: Fri 10 Dec, 2010 10:27
by rs3d
Thanks Igor! This Script works now, but not for nested directories.

Please consider adding a "Original Time Stamp" option in the Copy Dialog for FAR,
this would be excellent.

Thanks, Rob

Re: Copy Folder - Folder Date NOT to change

Posted: Mon 13 Dec, 2010 19:32
by rs3d
Dear Igor,

could you please change the macro to change directory only if it's newer
than the original. Otherwise I would destroy the original time stamp if
I'm not looking correctly...

Thank you, Rob

Re: Copy Folder - Folder Date NOT to change

Posted: Mon 13 Dec, 2010 21:18
by Игорь Юдинцев

Copy Folder - Folder Date NOT to change

Posted: Tue 04 Jul, 2017 09:30
by rs3d
Just wanted to bring up that topic again... even though Macros are a solution, it would be great if there would be the possibility to copy the original folder date stamp with the Copy Options...