You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very simple tool that performs parallel local file copy.
10
+
11
+
It's aimed at speeding up copying when one of the locally mounted file system is actually over network and therefore has high latency and `cp` or `rsync` is using tiny fraction of your network bandwidth or disk IO.
12
+
13
+
Being a simple tool, it has minimal error handling -- use with care.
14
+
15
+
## Usage
16
+
17
+
`parallel-cp <SRC> <DST>`
18
+
19
+
Both `<SRC>` and `<DST>` should be directories.
20
+
They're not interpreted like `cp`: if you run `parallel-cp a b` and `b` is an existing directory, it does not copy `a` to `b/a`.
21
+
This operates like `cp --no-target-directory`.
22
+
Files nested under `<SRC>` with path `<SRC>/foo/bar` will be copied to `<DST>/foo/bar`.
23
+
24
+
By default this tool has parallel equal to the number of CPU cores.
25
+
For network file systems, this might be further increased to improve throughput.
26
+
You can set `RAYON_NUM_THREADS` to override the default.
0 commit comments