bash script code help to make zip/tar of several folders .

Posted by Arsheep on Stack Overflow See other posts from Stack Overflow or by Arsheep
Published on 2010-06-17T22:08:57Z Indexed on 2010/06/17 22:13 UTC
Read the original article Hit count: 259

Filed under:
|
|

I am very new in bash and never coded in before but this task is stuck so need to get rid of it . I need to make bash script to make a single compressed file with several dirs.

Like -

/home/code/bots/ /var/config/ . . . /var/system/

and all will be compressed to single file /var/file/bkup.[zip][tar.gz]

Thanks in advance

© Stack Overflow or respective owner

Related posts about bash

Related posts about zip