Robocopy - Move only files under 60 days old
This line of code will move files from c:\temp to c:\temparchive that are less than 60 days old. It makes a log file of what is moved in c:\temp\FileUnder60daysMoved.txt
robocopy c:\temp c:\temparchive /mov /MAXAGE:60 /copyall /s >c:\temp\FileUnder60daysMoved.txt
No Comments