Right now I have no time to test: does this only concern the top folder's date or also any subfolders that are copied along?Cynic wrote:Any chance of having this feature in a future version of XYplorer?
Pasting files
-
admin
- Site Admin
- Posts: 66254
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
FAQ | XY News RSS | XY X
-
Cynic
- Posts: 7
- Joined: 18 Sep 2007 23:40
The whole directory tree, and all files as well.
If I move files using Explorer they'll keep their creation dates, even across partitions, but not if I copy them. Folders only retain theirs when being moved within the same partition, when moved to another partition or copied anywhere, the timestamps are reset.
If I move files using Explorer they'll keep their creation dates, even across partitions, but not if I copy them. Folders only retain theirs when being moved within the same partition, when moved to another partition or copied anywhere, the timestamps are reset.
-
admin
- Site Admin
- Posts: 66254
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Ok. Just like Explorer I use the shell to copy files so these things are expected, it's no good idea to change them.Cynic wrote:The whole directory tree, and all files as well.
If I move files using Explorer they'll keep their creation dates, even across partitions, but not if I copy them. Folders only retain theirs when being moved within the same partition, when moved to another partition or copied anywhere, the timestamps are reset.
What I could do is alter my "Backup" function: it's also copying files but bypassing the shell, with much more control for me. Currently the results are the same (mod dates are set to Now), but I could change this. --- Right now my mind is somewhere else, and this needs some care... but spontaneously I'd say it would be a good idea for a backup function to keep the original dates, right!?
FAQ | XY News RSS | XY X
-
Cynic
- Posts: 7
- Joined: 18 Sep 2007 23:40
-
admin
- Site Admin
- Posts: 66254
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
I just had a flow and did it.Cynic wrote:I agree, I think the default should be changing the dates just like Explorer does, but it would be great if there was a feature somewhere that allowed users to change that behaviour if they see fit. Doing it through the backup function sounds about right.
So the backup function now does what a backup should do: preserve all original dates of all files and folders copied!
And you, Cynic, can use this function for your tasks. (But note: backup does not overwrite newer files of the same name that might already exist in the target --- so there's still a hole in the system: you currently cannot overwrite newer items AND keep the original date.)
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Addendum/Update: Just tried it with a folder containing two files...the folder kept both original create/modif dates, but the files themselves only carried forward the original modif dates, with create being now.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66254
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
It was neither a pre- nor a post-senior moment: you are right, I just "forgot" the files' created date (because I erroneously thought that only the folders had this problem...).j_c_hallgren wrote:I may be having another "pre-senior moment", but are we talking about the "Edit/Backup to" function here? Because I just used that with 6.30.20 to copy a file to another folder on same drive, and the copy had Modif date same as original, but its Created date was set to "now"...what obvious thing am I missing here?
Addendum/Update: Just tried it with a folder containing two files...the folder kept both original create/modif dates, but the files themselves only carried forward the original modif dates, with create being now.
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Just an example of how quickly problems can get resolved here!Cynic wrote:Wow, that sure was fast!
That's why we just adore the work that Don does...now do you see why, if you didn't already?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 66254
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
No, couldn't be easier. Fix is on the way...Cynic wrote:Wow, that sure was fast!
Yes, I've done a few tests and the only problem seems to be the files' creation dates, as you've already noticed. Hopefully that shouldn't be too hard too fix.
FAQ | XY News RSS | XY X
XYplorer Beta Club