Situation: If I entered a copy command like cp -rf /src/ /dsc/
then I am waiting several minutes for copy large directories. I forgot to put -v
flag to verbose an output, Can I do it during copying?
Situation: If I entered a copy command like cp -rf /src/ /dsc/
then I am waiting several minutes for copy large directories. I forgot to put -v
flag to verbose an output, Can I do it during copying?
This question seems to be old, but for the
cp
command you've got the--verbose
option.So the command works as follows:
No you can't, but you could use the watch command to look at the destination directory to see how the process is progressing, eg.
You could always use
rsync
instead, you'll atleast get to see the files that are being copiedOf-course this only works before you start copying as an alternative to
cp
. The good news is though that rsync will only copy the files it needs to so you can kill your long-runningcp
command run thersync
command and it will pick up wherecp
left off.I propose :
I recommend to use Midnight Commander in case when you need to see a progress of files copying.
Install Midnight commander:
Open it:
On first panel open source, on second - destination. Start copying using "F5".
MC will display nice and informative progress dialog.