Page 1 of 1

Keep date/time when copying

Posted: 05 Aug 2020 12:02
by Alain Terrieur
Hi guys,

Is there a settings somewhere to keep date and time from folders and files when copying ?
Whether it's with native copying or with Teracopy...
Actually all copied elements are dated according to the current date.
I want to keep "original" date.

Re: Keep date/time when copying

Posted: 05 Aug 2020 12:49
by highend
Configuration | File Operations | File Operations | Custom Copy Operations | [x] Use Custom Copy
Configuration | File Operations | File Operations | Custom Copy Operations | [x] For all copy operations

Configuration | File Operations | File Operations | Custom Copy Operations | Configure...
[x] Preserve all item dates

Re: Keep date/time when copying

Posted: 05 Aug 2020 15:33
by Alain Terrieur
It's already set like this.
However it's not working when copying from one drive to another...
Especially on mapped drive.

Re: Keep date/time when copying

Posted: 05 Aug 2020 16:00
by highend
It does not work (always!) if you copy it from an internal drive to another internal drive?

Can't say anything about a mapped cloud drive (it's underlying file system isn't probably a Windows one but more likely ext4, btrfs, xfs or anything like that)...

Re: Keep date/time when copying

Posted: 05 Aug 2020 16:15
by Alain Terrieur
My laptop has a SSD and an HDD, and previous example was copy from SSD to HDD.

I have a program: AirLiveDrive that makes cloud drive appearing as mapped drives.

And I use them to make backup directly with either move or copy.

Re: Keep date/time when copying

Posted: 05 Aug 2020 16:19
by highend
and previous example was copy from SSD to HDD
It was a copy from <somewhere> to P:, which is a mapped cloud drive.

Show a file copy from C: to D: as a screenshot...

Re: Keep date/time when copying

Posted: 05 Aug 2020 16:25
by Alain Terrieur
Oops... my bad...

Copying from C to D works ok.
So what ???

Re: Keep date/time when copying

Posted: 05 Aug 2020 16:31
by highend
Does it work correctly with Windows Explorer (from C: / D: to P:)?

If not, blame your cloud or AirLiveDrive software provider and try to write a script that gets the last modified and created date from the source files, copies them and timestamps the destination files afterwards...

Re: Keep date/time when copying

Posted: 05 Aug 2020 16:40
by Alain Terrieur
On:
GoogleDrive: ok
OneDrive: ok
DropBox: ok
Mega: not ok
pCloud: not ok

Re: Keep date/time when copying

Posted: 05 Aug 2020 16:50
by highend
Again, either a problem with what these cloud providers use or with the AirLiveDrive software. Try it via scripting...

Re: Keep date/time when copying

Posted: 05 Aug 2020 16:56
by Alain Terrieur
Thanks so far for help/explanation.
However, I'm a total noob to scripts :oops:

Re: Keep date/time when copying

Posted: 20 Sep 2020 15:48
by admin
XYplorer tries to set the folder date after all copies are done. Hard to say why it fails here. Doesn't look like something that could be fixed in XY.