[dba-Tech] PowerShell question
Jim Lawrence
accessd at shaw.ca
Fri Nov 23 16:21:56 CST 2018
Hi Martin:
Excellent link.
Jim
----- Original Message -----
From: "Martin Reid" <mwp.reid at qub.ac.uk>
To: "Discussion of Hardware and Software issues" <dba-tech at databaseadvisors.com>
Sent: Thursday, November 22, 2018 11:36:43 AM
Subject: Re: [dba-Tech] PowerShell question
Arthur
Not much help but Google says
https://social.technet.microsoft.com/Forums/windows/en-US/7b5af033-7988-443d-aa00-aef7780c57cc/copy-only-new-and-modified-files
Sent from my Huawei Mobile
-------- Original Message --------
Subject: [dba-Tech] PowerShell question
From: Arthur Fuller
To: Discussion of Hardware and Software issues
CC:
My SSD is only 250GB (I plan to upgrade in a week or so). As a result, I
mirror My Documents from the SSD to an external drive (g:). It's easy
enough to do the basic copy, but I would like to optimize it, skipping all
the files that already exist on the target unless the source file's date is
greater than the target's, in which case I want to overwrite it. Last, I
would like to delete all the files from the source folder that are older
than a week.
Any PS experts out there to assist?
TIA,
Arthur
--
Arthur
_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com
_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com
More information about the dba-Tech
mailing list