Copy Folder - Folder Date NOT to change

You have encountered a problem using Far Manager? Here you can get help.
Post Reply
rs3d
Posts: 14
Joined: Wed 13 Oct, 2010 18:06
Has thanked: 2 times
Been thanked: 1 time

Copy Folder - Folder Date NOT to change

Post 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!
Игорь Юдинцев
Posts: 726
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 2 times

Re: Copy Folder - Folder Date NOT to change

Post 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.
rs3d
Posts: 14
Joined: Wed 13 Oct, 2010 18:06
Has thanked: 2 times
Been thanked: 1 time

Re: Copy Folder - Folder Date NOT to change

Post by rs3d »

Thank you for the idea but it doesn't work for Folders under Win7 64bit :(
Игорь Юдинцев
Posts: 726
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 2 times

Re: Copy Folder - Folder Date NOT to change

Post 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:
Attachments
CtrlAltQ.zip
(529 Bytes) Downloaded 243 times
rs3d
Posts: 14
Joined: Wed 13 Oct, 2010 18:06
Has thanked: 2 times
Been thanked: 1 time

Re: Copy Folder - Folder Date NOT to change

Post 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
rs3d
Posts: 14
Joined: Wed 13 Oct, 2010 18:06
Has thanked: 2 times
Been thanked: 1 time

Re: Copy Folder - Folder Date NOT to change

Post 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
Игорь Юдинцев
Posts: 726
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 2 times

Re: Copy Folder - Folder Date NOT to change

Post by Игорь Юдинцев »

Attachments
CtrlAltQ.zip
(728 Bytes) Downloaded 263 times
rs3d
Posts: 14
Joined: Wed 13 Oct, 2010 18:06
Has thanked: 2 times
Been thanked: 1 time

Copy Folder - Folder Date NOT to change

Post 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...
Post Reply

Return to “Support and Troubleshooting”