[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    Re: Functionality in 'cp' and 'mv' command
From:       Abhilash Mhaisne <abhilashmhaisne () gmail ! com>
Date:       2015-08-31 15:25:22
Message-ID: CANpuWXc6cJx-oobr5yBo8hH5Xs51iodL-tnxX5cGGz=HbuM6Uw () mail ! gmail ! com
[Download RAW message or body]

Thank you very much all. I am gonna try out the mentioned things tonight!

Regards,
Abhilash Mhaisne

On Mon, Aug 31, 2015 at 8:13 PM, Stephane Chazelas <
stephane.chazelas@gmail.com> wrote:

> 2015-08-31 11:50:36 +0100, P=C3=A1draig 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 show=
n.
> > > 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-r=
unning-cp
>
> https://unix.stackexchange.com/questions/65077/is-it-possible-to-see-cp-s=
peed-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-vi=
ew-the-progress-e-g-with-a-progress-bar
>
> https://unix.stackexchange.com/questions/39059/is-there-a-command-line-ut=
ility-that-copy-files-with-progress-information
>
> https://unix.stackexchange.com/questions/15655/why-doesnt-cp-have-a-progr=
ess-bar-like-wget
>
> https://unix.stackexchange.com/questions/68582/how-to-see-the-total-progr=
ess-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
>
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div><div>Thank you very much all. I am gonna try out the mentioned \
things tonight! <br><br></div>Regards,<br></div>Abhilash Mhaisne<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 8:13 PM, \
Stephane Chazelas <span dir="ltr">&lt;<a href="mailto:stephane.chazelas@gmail.com" \
target="_blank">stephane.chazelas@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">2015-08-31 11:50:36 +0100, Pádraig Brady:<br> <span \
class="">&gt; On 31/08/15 06:57, Abhilash Mhaisne wrote:<br> &gt; &gt; Hey all.<br>
&gt; &gt;<br>
&gt; &gt; When the cp or mv command is executed, no progress of copying is shown.<br>
&gt; &gt; The verbose option shows the source and destination, but not the \
progress.<br> &gt; &gt;<br>
&gt; &gt; In the wget tool, download progress is shown. Can we have the similar \
feature integrated on cp and mv?<br> &gt;<br>
&gt; This comes up periodically.<br>
&gt;<br>
&gt; The current thinking is that often you don&#39;t know ahead<br>
&gt; of time that the file is large or the transport is slow,<br>
&gt; and so an external utility to query the progress would<br>
&gt; be a more general solution. I.E. something like:<br>
&gt; <a href="https://github.com/Xfennec/progress" rel="noreferrer" \
target="_blank">https://github.com/Xfennec/progress</a><br> &gt;<br>
&gt; Also one can use rsync to get that functionality.<br>
</span>[...]<br>
<br>
I&#39;s also a FAQ on <a href="http://unix.stackexchange.com" rel="noreferrer" \
target="_blank">unix.stackexchange.com</a><br> <br>
<a href="https://unix.stackexchange.com/questions/66795/how-to-check-progress-of-running-cp" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/66795/how-to-check-progress-of-running-cp</a><br>
 <a href="https://unix.stackexchange.com/questions/65077/is-it-possible-to-see-cp-speed-and-copied" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/65077/is-it-possible-to-see-cp-speed-and-copied</a><br>
 <a href="https://unix.stackexchange.com/questions/110250/can-i-copy-a-folder-with-a-progress-bar" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/110250/can-i-copy-a-folder-with-a-progress-bar</a><br>
 <a href="https://unix.stackexchange.com/questions/2577/how-can-i-move-files-and-view-the-progress-e-g-with-a-progress-bar" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/2577/how-can-i-move-files-and-view-the-progress-e-g-with-a-progress-bar</a><br>
 <a href="https://unix.stackexchange.com/questions/39059/is-there-a-command-line-utility-that-copy-files-with-progress-information" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/39059/is-there-a-command-line-utility-that-copy-files-with-progress-information</a><br>
 <a href="https://unix.stackexchange.com/questions/15655/why-doesnt-cp-have-a-progress-bar-like-wget" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/15655/why-doesnt-cp-have-a-progress-bar-like-wget</a><br>
 <a href="https://unix.stackexchange.com/questions/68582/how-to-see-the-total-progress-while-copying-the-files" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/68582/how-to-see-the-total-progress-while-copying-the-files</a><br>
 <a href="https://unix.stackexchange.com/questions/56047/pv-for-directory-copy" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/56047/pv-for-directory-copy</a><br>
 <a href="https://unix.stackexchange.com/questions/1537/measure-pipe-throughput-in-the-shell" \
rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/1537/measure-pipe-throughput-in-the-shell</a><br>
 <br>
(at least one of them answered by you BTW).<br>
<br>
Another option is to go with something like:<br>
<br>
tar | pv | tar<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Stephane<br>
<br>
<br>
</font></span></blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic