Voytek wrote:

> I just need to force a 'y' here, or pass to gzip
> 
> ...screen snip---
> gzip: /backup/mysql/postfix-20050922.sql.gz already exists; do you wish to
> overwrite (y or n)?
> ...

I guess there's alway -f

       -f --force
              Force compression or decompression even if the file has multiple
              links  or  the corresponding file already exists, or if the com-
              pressed data is read from or written to a terminal. If the input
              data  is  not  in a format recognized by gzip, and if the option
              --stdout is also given, copy the input data  without  change  to
              the standard ouput: let zcat behave as cat.  If -f is not given,
              and when not running in the background, gzip prompts  to  verify
              whether an existing file should be overwritten.

if you have a copy of the man page available.  ;)

        Jacinta

-- 
   ("`-''-/").___..--''"`-._          |  Jacinta Richardson         |
    `6_ 6  )   `-.  (     ).`-.__.`)  |  Perl Training Australia    |
    (_Y_.)'  ._   )  `._ `. ``-..-'   |      +61 3 9354 6001        |
  _..`--'_..-_/  /--'_.' ,'           | [EMAIL PROTECTED] |
 (il),-''  (li),'  ((!.-'             |   www.perltraining.com.au   |


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to