Folder creation date lost merging folders of same name

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Millzey
Posts: 169
Joined: 07 Oct 2011 15:10

Folder creation date lost merging folders of same name

Post by Millzey »

I'm moving a folder (cut/paste) into another folder which has an existing folder of the same name. I dont get a merge warning, as I thought I normally do with custom copy for move operations enabled, and ask on collision enabled. But the main problem I'm reporting is that the creation date is lost on the existing folder after the move. Access, Creation, and Modified dates are all set to the current time. Shouldnt the normal action be not to change the creation date? I also have preserve all item date enabled.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Folder creation date lost merging folders of same name

Post by bdeshi »

Make sure you're using custom copy.
Main Menu > Configuration > File Operations
cc.png
Click the Configure... button under "Custom Copy Operations" and enable "Preserve all item dates".
To see the attached files, you need to log into the forum.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Millzey
Posts: 169
Joined: 07 Oct 2011 15:10

Re: Folder creation date lost merging folders of same name

Post by Millzey »

Thanks. All enabled from day 1. Same result.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Folder creation date lost merging folders of same name

Post by bdeshi »

Sorry, just making sure, this is also enabled?
Click the Configure... button under "Custom Copy Operations" and enable "Preserve all item dates".
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Millzey
Posts: 169
Joined: 07 Oct 2011 15:10

Re: Folder creation date lost merging folders of same name

Post by Millzey »

'perciate your help Sammy. But yes, all those are enabled.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Folder creation date lost merging folders of same name

Post by admin »

1) I do get the Merge Prompt. :? How exactly do you proceed? Did you tick "Ask before merging folders"?

2) "Preserve item dates" refers to the dates of the source items. So it works as advertised: The source folder in this case overwrites the dates of the target folder.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Folder creation date lost merging folders of same name

Post by bdeshi »

admin wrote: ↑04 Feb 2019 19:242) "Preserve item dates" refers to the dates of the source items. So it works as advertised: The source folder in this case overwrites the dates of the target folder.
In that case, am I getting a bug? after copying over a an existing folder, its dates remain unchanged. In that case I'm happy with this "bug", 'cause I thought this was the correct behavior.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Folder creation date lost merging folders of same name

Post by admin »

In the way Millzey has described it?
I'm moving a folder (cut/paste) into another folder which has an existing folder of the same name.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Folder creation date lost merging folders of same name

Post by bdeshi »

:oops: wait. I had "preserve item dates" disabled. With this enabled, I see what Millzey sees.
So Millzey, disable "preserve item dates" then retry.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

RalphM
Posts: 2144
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Folder creation date lost merging folders of same name

Post by RalphM »

But I guess you can't have it both ways in one operation, either you preserve all source item dates or none...
Ralph :)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Folder creation date lost merging folders of same name

Post by admin »

So it is.

Millzey
Posts: 169
Joined: 07 Oct 2011 15:10

Re: Folder creation date lost merging folders of same name

Post by Millzey »

My Bad. I didn't have Ask before merging folders enabed, I usually have that off. I must have been mistaken thinking the target folder date was preserved. The behavior I was expecting for folders when merging with preserve item dates was to preserve the folder creation date of the folder being merged to, not from, since that folder has already been created. But I understand what you mean about can't have it both ways unless there was an option to preserve the target date, source date, or whichever was newer/older.

Post Reply