LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2012, 04:37 AM   #16
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244

Quote:
Originally Posted by Syllinger View Post
Hello Gents,

Alright, so first and foremost I figured out (kinda) how to trasnfer files using rsync, and it provides me with the progress of each file as it transfers. That said, is there any way to have some kind of overall progress indicator with an ETA on the entire transfer as well as a transferred bytes/total bytes read-out?
I did make a perl script like this, I don't use it anymore but the idea was to use perl modules:
Term::ProgressBar
File::Rsync

Basically, use perl Rsync with dry-run option to get the number of files to download, Rsync option outfun set to a function that updates a global variable that stores total
Then display progress bar and use perl Rsync to download the files with outfun option set to a function that updates the progress bar.

It is not difficult, a minimum perl knowledge is required though, but not that much
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mv with progress bar gbowden Linux - General 28 08-14-2013 04:42 AM
cp progress bar edwardsiow Linux - General 26 09-04-2011 08:53 AM
Sony PSP file transfer inaccurate transfer progress stratotak Linux - Newbie 3 01-02-2010 03:49 AM
Is it possible to see a progress bar when I move files with the command line? baldurpet Linux - Software 2 01-22-2009 08:49 AM
Does evolution 2 have a progress bar on email transfer. Brian1 Linux - Software 0 12-09-2004 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration