Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #7875 > unrolled thread
| Started by | www <xsli2@yahoo.com> |
|---|---|
| First post | 2013-04-17 11:45 -0700 |
| Last post | 2013-04-22 17:36 +0000 |
| Articles | 6 on this page of 26 — 15 participants |
Back to article view | Back to comp.os.linux.misc
is there a cp command feature showing the percentage progress of copying? www <xsli2@yahoo.com> - 2013-04-17 11:45 -0700
Re: is there a cp command feature showing the percentage progress of copying? Richard Kettlewell <rjk@greenend.org.uk> - 2013-04-17 20:31 +0100
Re: is there a cp command feature showing the percentage progress of copying? unruh <unruh@invalid.ca> - 2013-04-17 20:38 +0000
Re: is there a cp command feature showing the percentage progress of copying? John Hasler <jhasler@newsguy.com> - 2013-04-17 16:07 -0500
Re: is there a cp command feature showing the percentage progress of copying? Marc Haber <mh+usenetspam1118@zugschl.us> - 2013-04-18 11:29 +0200
Re: is there a cp command feature showing the percentage progress of copying? unruh <unruh@invalid.ca> - 2013-04-18 15:44 +0000
Re: is there a cp command feature showing the percentage progress of copying? Marc Haber <mh+usenetspam1118@zugschl.us> - 2013-04-18 18:38 +0200
Re: is there a cp command feature showing the percentage progress of copying? unruh <unruh@invalid.ca> - 2013-04-18 16:50 +0000
Re: is there a cp command feature showing the percentage progress of copying? Marc Haber <mh+usenetspam1118@zugschl.us> - 2013-04-18 23:32 +0200
Re: is there a cp command feature showing the percentage progress of copying? unruh <unruh@invalid.ca> - 2013-04-18 23:13 +0000
Re: is there a cp command feature showing the percentage progress of copying? Richard Kettlewell <rjk@greenend.org.uk> - 2013-04-19 08:57 +0100
Re: is there a cp command feature showing the percentage progress of copying? Marc Haber <mh+usenetspam1118@zugschl.us> - 2013-04-19 13:31 +0200
Re: is there a cp command feature showing the percentage progress of copying? Bit Twister <BitTwister@mouse-potato.com> - 2013-04-17 22:23 +0000
Re: is there a cp command feature showing the percentage progress of copying? Robert Riches <spamtrap42@jacob21819.net> - 2013-04-18 03:53 +0000
Re: is there a cp command feature showing the percentage progress of copying? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2013-04-17 16:53 -0400
Re: is there a cp command feature showing the percentage progress of copying? Chick Tower <c.tower@deadspam.com> - 2013-04-19 01:05 +0000
Re: is there a cp command feature showing the percentage progress of copying? Whiskers <catwheezel@operamail.com> - 2013-04-23 15:23 +0100
Re: is there a cp command feature showing the percentage progress of copying? Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2013-04-17 22:44 +0000
Re: is there a cp command feature showing the percentage progress of copying? Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2013-04-17 23:04 +0000
Re: is there a cp command feature showing the percentage progress of copying? Fritz Wuehler <fritz@spamexpire-201304.rodent.frell.theremailer.net> - 2013-04-20 00:37 +0200
Re: is there a cp command feature showing the percentage progress of copying? Aragorn <stryder@telenet.be.invalid> - 2013-04-20 18:21 +0200
Re: is there a cp command feature showing the percentage progress of copying? Robert Riches <spamtrap42@jacob21819.net> - 2013-04-21 03:41 +0000
Re: is there a cp command feature showing the percentage progress of copying? www <xsli2@yahoo.com> - 2013-04-22 05:36 -0700
Re: is there a cp command feature showing the percentage progress of copying? root <NoEMail@home.org> - 2013-04-22 14:55 +0000
Re: is there a cp command feature showing the percentage progress of copying? Chris Davies <chris-usenet@roaima.co.uk> - 2013-04-22 16:11 +0100
Re: is there a cp command feature showing the percentage progress of copying? Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2013-04-22 17:36 +0000
Page 2 of 2 — ← Prev page 1 [2]
| From | Aragorn <stryder@telenet.be.invalid> |
|---|---|
| Date | 2013-04-20 18:21 +0200 |
| Subject | Re: is there a cp command feature showing the percentage progress of copying? |
| Message-ID | <kkuf48$dqn$1@dont-email.me> |
| In reply to | #7932 |
On Saturday 20 April 2013 00:37, Fritz Wuehler conveyed the following to comp.os.linux.misc... > www <xs...@yahoo.com> [w]: > w> I am copying a lot of files from one place to another. It would > w> be helpful for me to know it has finished 20%, 30%, 90% etc. Is > w> there a way to know that? > > If you have a rough idea of the input data size, use a tool like > pipemeter > > tar -cf - -C /source/directory . | > pipemeter -s SIZE_OF_INPUT_DATA | > ssh user@some_other_locaion \ > tar -xf - -C /target/directory > > It will give you a nice progress bar and a rough ETA. scp in and of itself - which pretty much does what you describe here- above, i.e. copy from one machine to another - also has a progress indicator. scp is part of the ssh client package, as is sftp. $ man scp $ man sftp -- = Aragorn = GNU/Linux user #223157 - http://www.linuxcounter.net
[toc] | [prev] | [next] | [standalone]
| From | Robert Riches <spamtrap42@jacob21819.net> |
|---|---|
| Date | 2013-04-21 03:41 +0000 |
| Subject | Re: is there a cp command feature showing the percentage progress of copying? |
| Message-ID | <slrnkn6nvv.mub.spamtrap42@one.localnet> |
| In reply to | #7932 |
On 2013-04-19, Fritz Wuehler <fritz@spamexpire-201304.rodent.frell.theremailer.net> wrote: > www <xs...@yahoo.com> [w]: > w> I am copying a lot of files from one place to another. It would > w> be helpful for me to know it has finished 20%, 30%, 90% etc. Is > w> there a way to know that? > > If you have a rough idea of the input data size, use a tool like pipemeter > > tar -cf - -C /source/directory . | > pipemeter -s SIZE_OF_INPUT_DATA | > ssh user@some_other_locaion \ > tar -xf - -C /target/directory > > It will give you a nice progress bar and a rough ETA. In case someone/I haven't mentioned it, 'pv' (pipe viewer) also gives progress info; in case you can't find pipemeter. -- Robert Riches spamtrap42@jacob21819.net (Yes, that is one of my email addresses.)
[toc] | [prev] | [next] | [standalone]
| From | www <xsli2@yahoo.com> |
|---|---|
| Date | 2013-04-22 05:36 -0700 |
| Message-ID | <4dcaf060-4e97-4877-a27d-a69aab4ff569@googlegroups.com> |
| In reply to | #7875 |
On Wednesday, April 17, 2013 2:45:06 PM UTC-4, www wrote:
> I am copying a lot of files from one place to another. It would be helpful for me to know it has finished 20%, 30%, 90% etc. Is there a way to know that?
>
>
>
> Thank you.
I am very interested in gcp program. However, I cannot make it work.
I have downloaded gcp tar file and untar it. Now I have the directory gcp-0.1.3 sitting at my home directory. Inside there are:
CHANGELOG COPYING MANIFEST.in README distribute_setup.py fr.po gcp gcp.1 gcp.po i18n setup.py test_gcp.py
I have also downloaded python progress tar file and untar it. Now I have the directory progressbar\-2.2 sitting at my home directory. Inside there are:
LICENSE MANIFEST MANIFEST.in PKG-INFO README progressbar.py setup.py
Now, when I tried to copy 1.txt to 2.txt(I am at the home and 1.txt is at home too)
$./gcp\-0.1.3/gcp 1.txt 2.txt
File "./gcp-0.1.3/gcp", line 114
class Journal():
^
SyntaxError: invalid syntax
Could anybody kindly guide me on installing gcp? Thank you very much.
[toc] | [prev] | [next] | [standalone]
| From | root <NoEMail@home.org> |
|---|---|
| Date | 2013-04-22 14:55 +0000 |
| Message-ID | <kl3j0t$4du$1@news.albasani.net> |
| In reply to | #7952 |
www <xsli2@yahoo.com> wrote: > On Wednesday, April 17, 2013 2:45:06 PM UTC-4, www wrote: >> I am copying a lot of files from one place to another. It would be helpful for me to know it has finished 20%, 30%, 90% etc. Is there a way to know that? >> >> >> >> Thank you. > > I am very interested in gcp program. However, I cannot make it work. > > I have downloaded gcp tar file and untar it. Now I have the directory gcp-0.1.3 sitting at my home directory. Inside there are: > CHANGELOG COPYING MANIFEST.in README distribute_setup.py fr.po gcp gcp.1 gcp.po i18n setup.py test_gcp.py > > I have also downloaded python progress tar file and untar it. Now I have the directory progressbar\-2.2 sitting at my home directory. Inside there are: > LICENSE MANIFEST MANIFEST.in PKG-INFO README progressbar.py setup.py > > Now, when I tried to copy 1.txt to 2.txt(I am at the home and 1.txt is at home too) > $./gcp\-0.1.3/gcp 1.txt 2.txt > File "./gcp-0.1.3/gcp", line 114 > class Journal(): > ^ > SyntaxError: invalid syntax > > Could anybody kindly guide me on installing gcp? Thank you very much. gcp requires two other pieces: progressbar and distribute. gcp runs only under X. When you download something and the directory contains a file setup.py You do: python setup.py build python setup.py install You will have to download progressbar from here: http://code.google.com/p/python-progressbar/ You download distribute from here: http://packages.python.org/distribute/
[toc] | [prev] | [next] | [standalone]
| From | Chris Davies <chris-usenet@roaima.co.uk> |
|---|---|
| Date | 2013-04-22 16:11 +0100 |
| Message-ID | <ki0g4axp7l.ln2@news.roaima.co.uk> |
| In reply to | #7952 |
www <xsli2@yahoo.com> wrote:
> I am very interested in gcp program. However, I cannot make it work.
> [...]
> Could anybody kindly guide me on installing gcp? Thank you very much.
Debian:
aptitude install gcp
gcp /some/big/file /to/here
Otherwise:
wget https://pypi.python.org/packages/source/g/gcp/gcp-0.1.3.tar.bz2
tar xjf gcp-0.1.3.tar.bz2
wget http://python-progressbar.googlecode.com/files/progressbar-2.3.tar.gz
tar xzf progressbar-2.3.tar.gz
cd gcp-0.1.3
ln -s ../progressbar-2.3/progressbar
./gcp /some/big/file /to/here
Actually, it would make more sense (to me) to drop gcp into /usr/local/bin
but I haven't investigated what would need to go where to make this
work correctly.
Chris
[toc] | [prev] | [next] | [standalone]
| From | Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> |
|---|---|
| Date | 2013-04-22 17:36 +0000 |
| Message-ID | <20130422131919.949@0.0.0> |
| In reply to | #7952 |
On 2013-04-22, www <xsli2@yahoo.com> wrote: > On Wednesday, April 17, 2013 2:45:06 PM UTC-4, www wrote: >> I am copying a lot of files from one place to another. >>It would be helpful for me to know it has finished 20%, 30%, 90% etc. >>Is there a way to know that? >> >> >> >> Thank you. > I am very interested in gcp program. However, I cannot make it work. *<snip for brevity>* > Could anybody kindly guide me on installing gcp? Thank you very much. You need to enter into each directory, and run "setup.py" to install. check below page out and root's post in this thread. http://www.hecticgeek.com/2012/03/gcp-command-line-file-copy-ubuntu-linux/ You should be able to install all via your package management system. That would be best. What distro do you have installed?
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.os.linux.misc
csiph-web