Post Reply 
Moving Files to new drive
24-10-2022, 08:35 (This post was last modified: 24-10-2022 08:41 by simbun.)
Post: #2
RE: Moving Files to new drive
(23-10-2022 22:02)Peter@57m Wrote:  I have been trying to think of a way around this and have been searching for a way to set the Date Last Modified to the Date Created attribute.
Does anyone know what the correct syntax should be to achieve this.
I believe you need to reference the attributes with $_., so $_.CreationTime.

(23-10-2022 22:02)Peter@57m Wrote:  Alternatively, is there another way to preserve to Recently Added from the old server.
I don't use the Recent* functionality, but in the guide it instructs you to make sure you have a backup of the recent folder, so as long as your content directory structure is the same I'd have thought just copying that folder over to the new minimserver install would suffice.

EDIT: Your post seems to suggest that you want to copy creation date to last modified (to essentially roll back the effect of the tag changes on the file dates), but your script does the opposite.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Moving Files to new drive - Peter@57m - 23-10-2022, 22:02
RE: Moving Files to new drive - simbun - 24-10-2022 08:35

Forum Jump:


User(s) browsing this thread: 1 Guest(s)