Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-05-2009, 05:10 AM   #1
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 361

Rep: Reputation: 31
tar command with progress bar


I have this comand in a bash script

cd /home/n3t
tar -czf /media/disk/BACKUP/home/Pictures/$BACKUPDATE.tar.gz ./Pictures
How can i create a progress bar for this action ?

Any ideas ?
I have download the clpbar but i dont know how to use it exactly..

Old 11-05-2009, 05:54 AM   #2
Registered: Mar 2009
Posts: 209

Rep: Reputation: 42
I don't believe it is possible. In order to display a progress bar, tar would have to know the total size of the files being archived. It doesn't. It processes the files one at a time. You could make it verbose and then it would tell you as it is adding each file to the archive.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line progress bar for copying Maverick1182 Linux - Newbie 6 03-03-2012 12:55 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
cp with progress bar? Rotwang Linux - General 5 04-27-2005 07:49 PM
CLI progress bar for mv and cp command??? Lleb_KCir Linux - General 4 03-12-2005 09:12 PM
cp: progress bar chii-chan Linux - General 2 10-30-2003 06:30 PM

All times are GMT -5. The time now is 04:12 AM.

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