Fedora Linux Support Community & Resources Center
  #1  
Old 19th October 2008, 09:07 PM
daviddoria Offline
Registered User
 
Join Date: Oct 2007
Posts: 884
Show progress with cp?

If i need to copy a several gig folder with cp, i have no way of telling when it will be done. Is there a way to have it give a status/progress bar?

Thanks,
Dave
Reply With Quote
  #2  
Old 19th October 2008, 09:14 PM
BlueC Offline
Registered User
 
Join Date: Aug 2007
Location: Liverpool, UK
Posts: 733
Copy with a progress bar:

http://www.mjmwired.net/linux/2008/0...-progress-bar/

Not sure it will work for a full directory though...!
Reply With Quote
  #3  
Old 19th October 2008, 10:30 PM
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,851
"Several gig folder..."

I know this is probably an incomplete answer and I know you probably have some big files in there, but I prefer using the verbose modes to mv, cp, and rm (so much so that I've gotten in the habit of aliasing those commands to use the -v switch by default).

Try cp -v to show file-by-file progress. Unfortunately, no progress bar. It will just tell you when file x is done and has started working on y. Not exactly what you're looking for, but I use it just to keep some activity on the screen to let me know that the machine and the file copy haven't hung.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #4  
Old 19th October 2008, 10:38 PM
bee Offline
Banned
 
Join Date: Jun 2008
Posts: 1,315
Quote:
Originally Posted by tjvanwyk View Post
Unfortunately, no progress bar. It will just tell you when file x is done and has started working on y.
Yeah!, i think, it's very good if you have several gig folders within small files! (lolololol, it sounds like a pirate MP3 depot! )

bye!
Reply With Quote
  #5  
Old 19th October 2008, 10:45 PM
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,851
Quote:
Originally Posted by bee View Post
Yeah!, i think, it's very good if you have several gig folders within small files! (lolololol, it sounds like a pirate MP3 depot! )

bye!
Come on... some people have totally legitimate music libraries...

(looks around suspiciously)
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #6  
Old 19th October 2008, 10:49 PM
chousho Offline
Registered User
 
Join Date: Jan 2008
Location: NY
Posts: 126
Now, since I totally suck at anything shell, how would I set this up for .bashrc?

cat $1 | pv -s -L $size -p -e -r > $2... uhh, yeah, I have a feeling that's not right. :\
__________________
Quote:
It's definitely not a good idea to talk about any potentially controversial subject where one or more people may potentially—but perhaps not definitely—disagree or have alternate views. The best subjects when discussing with a diversity of people should not tread into any dangerous waters that confirm people are diverse.

Strive for un-provoking discussions about a neutral topic. After all, the most palatable food is that which lacks any seasoning, spices or distinction.
So uninteresting...
Reply With Quote
  #7  
Old 19th October 2008, 10:59 PM
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,851
Quote:
Originally Posted by chousho View Post
Now, since I totally suck at anything shell, how would I set this up for .bashrc?
alias foobar = 'that big long command'

?

EDIT:
Oh, wait. That wouldn't work because the source/destination file names aren't always going to be the same... Nevermind. Proceed to ignore me, now.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
Reply

Tags
progress

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GDM Lack of Progress jdeslip Fedora Focus 10 27th January 2009 03:30 AM
Where did my Progress Bar go? kensturbo5o Using Fedora 0 11th June 2004 05:11 AM


Current GMT-time: 19:25 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Conegliano Travel Photos - Bani Suhayla - Florissant Instagram Photos