Home
Windows terminal cheat sheet
Copy files from a source folder ONLY when they are more recent OR don't exist in a destination folder
robocopy D:\Pictures\photos E:\Pictures\photos /E /XC /XO
Copy files from a source folder ONLY when they don't exist in a destination folder
robocopy D:\Pictures\photos E:\Pictures\photos /E /XC /XN /XO
Delete all files in folders recursively without deleting the folders themselves
del /S /Q "D:\Pictures\photos\*"