LinuxQuestions.org
Visit Jeremy's Blog.
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, 05:37 AM   #16
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:42 AM
cp progress bar edwardsiow Linux - General 26 09-04-2011 09:53 AM
Sony PSP file transfer inaccurate transfer progress stratotak Linux - Newbie 3 01-02-2010 04: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 09:49 AM
Does evolution 2 have a progress bar on email transfer. Brian1 Linux - Software 0 12-09-2004 06:47 PM

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

All times are GMT -5. The time now is 09:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration