we have a network of several machines and we want to distribute a big directory (ca. 10 GB) to every box.
It is located on an nfs-server and is mounted on all machines, so first approach is to just use normal cp
to copy the files from the mounted to a local directory. This is easy, but unfortunately there is no progress bar, because it is not intended to use it for network copies (or is it?).
Using scp
is intended for copying across network, but it may encrypt everything and therefore be slow.
Should one be faster, and if so, which: cp
on nfs-mount or scp
?
You can always use rsync
, it can show you the progress (with --progress
option) and is more lightweight than scp
.
You can enable compression manually with -z
.