Forrest logo
back to context overview

robocopy

List of commands for robocopy:

  • robocopy:ai:44dd8 create a watch folder and move *.tif' *.tiff files to a specific folder with list output in tsv file
    $ robocopy C:\source_folder C:\destination_folder *.tif *.tiff /MOV /LOG:C:\output.tsv
    try on your machine
    explain this command
  • robocopy:ai:64a81 how do I sync my file?
    $ robocopy /MIR ${source} ${destination}
    try on your machine
    explain this command
  • robocopy:tldr:20fc3 robocopy: Display detailed usage information.
    $ robocopy /?
    try on your machine
    explain this command
  • robocopy:tldr:267c3 robocopy: Copy all files and subdirectories, excluding source files that are older than destination files.
    $ robocopy ${path\to\source_directory} ${path\to\destination_directory} /E /XO
    try on your machine
    explain this command
  • robocopy:tldr:509fa robocopy: Copy all files and subdirectories, including empty ones.
    $ robocopy ${path\to\source_directory} ${path\to\destination_directory} /E
    try on your machine
    explain this command
  • robocopy:tldr:55772 robocopy: Mirror/Sync a directory, deleting anything not in source and include all attributes and permissions.
    $ robocopy ${path\to\source_directory} ${path\to\destination_directory} /MIR /COPYALL
    try on your machine
    explain this command
  • robocopy:tldr:7c99c robocopy: Allow resuming if network connection is lost and limit retries to 5 and wait time to 15 sec.
    $ robocopy ${path\to\source_directory} ${path\to\destination_directory} /Z /R:5 /W:15
    try on your machine
    explain this command
  • robocopy:tldr:8576f robocopy: List all files 50 MB or larger instead of copying them.
    $ robocopy ${path\to\source_directory} ${path\to\destination_directory} /MIN:${52428800} /L
    try on your machine
    explain this command
  • robocopy:tldr:9bf60 robocopy: Copy all `.jpg` and `.bmp` files from one directory to another.
    $ robocopy ${path\to\source_directory} ${path\to\destination_directory} ${*-jpg} ${*-bmp}
    try on your machine
    explain this command
back to context overview