The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-30-2006
dicko44 dicko44 is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 1
TAR- Progress bar?

hi all,
i'm currently working on an SGI IRIX system and a solaris system also. In order to transfer files across these two systems i use a storagetek tapedrive with dat tapes. i use TAR to transfer files to tape, roughly 20gb at a time. i'm looking for a simple script using bourne shell if possible to create a progress bar for when files are being transferred to and from tape using tar. i'd like it to show a progress bar for each file that is being transferred and also an overall progress bar for the whole transfer process. If possible also i'd like it to show the amout transferred so far, amout left to transfer, the speed of transfer eg 6mb/s and estimate time left in transfer. can this be done? i'm new to shell scripting.

also i could write the script in perl if it possible to do it with that and have a perttier progress bar in a new window.

any ideas?