Fixed [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
Moderators: Hacker, petermad, Stefan2, white
Fixed [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
Hi, if i copy directories on branchview mode using cm_copy /R1, directories dates are not preserved,. Best regards.
Tc 11.00b9 32Bits // Windows 10 22H2 32Bits
Last edited by Galizza on 2023-07-05, 17:15 UTC, edited 1 time in total.
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
Confirmed. Both on NTFS and FAT partitions.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
This is normal: TC does not copy directories in branch view, there are none shown. Missing directories will be created on demand, not copied.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
ghisler(Author) wrote: 2023-06-29, 10:04 UTC This is normal: TC does not copy directories in branch view, there are none shown. Missing directories will be created on demand, not copied.
Hi, i think that i didn't explain myself properly or i'm wrong about what cm_copy /R1 should do.
Lets say that this directory structure exist on my system
C:\Wincmd\Plugins\WDX\SHELLDETAILS\
On the left panel i place inside C:\Wincmd\ and i activate branch view, then i select all files and i use cm_copy /R1 to copy them all to an empty directory on the right panel.
But when i do such thing directory \SHELLDETAILS\ show current date and not original date on right panel.
Maybe i am wrong, but i thought that cm_copy /R1 will work like COPYTREE 1.3 plugin (with his copy timestamps of directories option activated), thank you very much.
Last edited by Galizza on 2023-06-29, 11:26 UTC, edited 1 time in total.
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
2ghisler(Author)
It would be nice though if the date of the created directories could be synchronized with the date of the source after copying, if feasible.Missing directories will be created on demand, not copied.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
2petermad
And if the target directory already exists?
And if the target directory already exists?
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
I think that in that case the date of the target directory should be left untouched, just like it is when copying normally between two panels.And if the target directory already exists?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
It's difficult to add, but should be doable:
1. Put the paths of all the newly created directories in a list
2. Sort the list so the deepest directories come first
3. At the end of copying, go through the list and copy the folder dates
The question is whether the dates should still be copied when the user aborts the copy operation. It could take a lot of time when there are 1000s of new directories...
1. Put the paths of all the newly created directories in a list
2. Sort the list so the deepest directories come first
3. At the end of copying, go through the list and copy the folder dates
The question is whether the dates should still be copied when the user aborts the copy operation. It could take a lot of time when there are 1000s of new directories...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
That would be prefereable. If not,, then maybe give a warning in the abort dialog: "Folder dates will not be updated"The question is whether the dates should still be copied when the user aborts the copy operation.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
For me current timestamp of a directory means that operations for this directory weren't completed (f.e. copy operation was aborted).
There's another problem: What to do with timestamps when you see a message with "Skip", "Retry", "Skip all", "Abort" buttons.
There's another problem: What to do with timestamps when you see a message with "Skip", "Retry", "Skip all", "Abort" buttons.
Last edited by Usher on 2023-07-02, 20:23 UTC, edited 1 time in total.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
What problem do you mean?There's another problem: What to do when you see a message with "Skip", "Retry", "Skip all", "Abort" buttons.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
I guess with "Skip All" and "Abort": should the already written directories have their timestamp synchronized?.What problem do you mean?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
2petermad
Agree, and leave current timestamp for every "Skip"ped case...
Agree, and leave current timestamp for every "Skip"ped case...
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Fixed [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
Fixed on Tc 11.00b10 32Bits // Windows 10 22H2 32Bits
Re: Fixed [Tc 11.00b9] cm_copy /R1 ; Directory dates are not preserved,
Confirmed fixed in TC 11.00b10 x64 and x86history.txt wrote:02.07.23 Added: Copy files, branch view: Also keep directory time stamps when copying with the background transfer manager (32/64)
30.06.23 Added: Copy files, branch view: When using option "Keep relative paths", copy directory timestamps of directories which didn't exist yet (32/64)

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar