Example:
Code:
robocopy E:\DataFiles Z:\Backup\DataFiles /MOVE /MAXAGE:365
Example 2:
robocopy E:\data Z:\Archived_fileserver /MOVE *.* /E /minage:730
The example above will move (/move) all files and folders even if empty (*.* /E) that have not been mofidied for 730 days (minage:730) from folder (E:\data) to (Z:\Archived_fileserver) folder using (robocopy)