theanti9 / ninecopy

Fast, multithreaded directory copy utility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ninecopy


Ninecopy is a fast, miltithreaded directory copy utility.

Individual file copies are not supported as it's effectively the same as cp/copy. Ninecopy is meant to copy large / deep directory structures quickly and will happily fully saturate CPU and Disk/Network utilization.

Usage

$ ./ninecopy.exe --help
Fast, multithreaded directory copy utility

Usage: ninecopy.exe [OPTIONS] <SOURCE> <DESTINATION>

Arguments:
  <SOURCE>
          The folder you want to copy.

          e.x. "C:\MyFolder"

  <DESTINATION>
          The location you want to copy SOURCE to.

          e.x. "D:\MyFolder"

Options:
  -o, --overwrite
          Overwrite existing files.

          If this is false, the process will exit if existing files at the destination are encountered.

 -s, --skip
          Skip files that already exist at the destination.
          
          Mutually exlusive with `overwrite`.

  -p, --progress
          Periodically log progress

  -t, --threads <THREADS>
          The number of threads to use for search and copy.
          
          Defaults to one per core.
          
          Transfers with mostly large files may benefit from thread counts higher than one per core, depe
nding on the core count and disk throughput.

      --copy-if-newer
          Copy files that already exist at the destination if the last modified time of the source file i
s more current.
          
          Must be used in conjunction with `skip`

      --copy-if-larger
          Copy files that already exist at the destination if the size of the source file is larger than 
the destination file.
          
          Must be used in conjunction with `skip`

  -c, --continue-on-error
          Skip files that encounter an error and continue copying instead of exiting

  -h, --help
          Print help information (use `-h` for a summary)

  -V, --version
          Print version information

About

Fast, multithreaded directory copy utility

License:MIT License


Languages

Language:Rust 100.0%