Tuesday, August 9, 2016

Copy All Files One day older from different folders

Below command will copy all one day old bak (SQL Backup) files from Source L:\Backup to destination.

robocopy "\\Source\L$\Backup\" "\\Destination\L$\backup" *.bak /R:0 /S /MAXAGE:1

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home