I'm copying a large amount of files between disks. There's approximately 16 GB of data. I'd like to see progress information, and even an estimated time of completion from the command line.
Any advice?
I'm copying a large amount of files between disks. There's approximately 16 GB of data. I'd like to see progress information, and even an estimated time of completion from the command line.
Any advice?
Use
rsync --human-readable --progress
.For single files and block devices there's also
pv
. And if you genuinely need an accurate progress bar, try usingtar
with pv — something like this:Be warned, however, that GNU
tar
does not yet support ACLs or extended attributes, so if you are copying filesystems mounted with the "acl" or "xattrs" options, you need to use rsync (with the "--acls
" and "--xattrs
" options). Personally, I use:Also look into whether you want to use the
--delete
and/or--numeric-ids
options.Instead of
dd
I would suggestpv
, e.g.:Have you tried
rsync -P
? If you're usingdd
, e.g.tar -cf - src | dd | (cd dest; tar -xf -)
you should be able to use Ctrl-T (SIGINFO) to see your progress.