|
From: | Abhilash Mhaisne |
Subject: | Re: Functionality in 'cp' and 'mv' command |
Date: | Mon, 31 Aug 2015 20:43:22 +0530 |
2015-08-31 11:50:36 +0100, Pádraig Brady:
> On 31/08/15 06:57, Abhilash Mhaisne wrote:
> > Hey all.
> >
> > When the cp or mv command is executed, no progress of copying is shown.
> > The verbose option shows the source and destination, but not the progress.
> >
> > In the wget tool, download progress is shown. Can we have the similar feature integrated on cp and mv?
>
> This comes up periodically.
>
> The current thinking is that often you don't know ahead
> of time that the file is large or the transport is slow,
> and so an external utility to query the progress would
> be a more general solution. I.E. something like:
> https://github.com/Xfennec/progress
>
> Also one can use rsync to get that functionality.
[...]
I's also a FAQ on unix.stackexchange.com
https://unix.stackexchange.com/questions/66795/how-to-check-progress-of-running-cp
https://unix.stackexchange.com/questions/65077/is-it-possible-to-see-cp-speed-and-copied
https://unix.stackexchange.com/questions/110250/can-i-copy-a-folder-with-a-progress-bar
https://unix.stackexchange.com/questions/2577/how-can-i-move-files-and-view-the-progress-e-g-with-a-progress-bar
https://unix.stackexchange.com/questions/39059/is-there-a-command-line-utility-that-copy-files-with-progress-information
https://unix.stackexchange.com/questions/15655/why-doesnt-cp-have-a-progress-bar-like-wget
https://unix.stackexchange.com/questions/68582/how-to-see-the-total-progress-while-copying-the-files
https://unix.stackexchange.com/questions/56047/pv-for-directory-copy
https://unix.stackexchange.com/questions/1537/measure-pipe-throughput-in-the-shell
(at least one of them answered by you BTW).
Another option is to go with something like:
tar | pv | tar
--
Stephane
[Prev in Thread] | Current Thread | [Next in Thread] |