> Hi, on my main home machine I have a little script that creates some
> tar.gz files then opens a k3b file so I can burn the resulting files to
> a dvd, like this:
> 
> /bin/bash
> *tar* cvfz /home/roger/backup/backupfile.tar.gz /folders/to/back/up/ 
> k3b /home/roger/backup/backup.k3b
> 
> in a file named with .sh extension.  
> 
> 
> When running tar from the command line I particularly included the "v"
> switch for tar so that I can see the progress as each file is added. 
> However when running from within the .sh file this doesn't happen, I can
> only see that the process is happening by viewing top, or watching the
> increasing size of the .tar.gz file in a konqueror window.  Is there a
> way I can have the verbose output of tar in a shell window when running
> via the .sh file? 
> 
> Roger
> 

I'm not sure if this is your problem but should not the fz options be transposed
so that the name of the archive you create is an OPTARG for the f option.

See this page for an elaboration of the error;

http://www.gnu.org/software/tar/manual/tar.html#short-create

Cheers Ross
Drummond

Reply via email to