[dba-Tech] PowerShell question

Arthur Fuller fuller.artful at gmail.com
Thu Nov 22 13:32:46 CST 2018


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


More information about the dba-Tech mailing list