Re: a bit OT
| From: | Michael Stearne | Date: | Wed, 12 Jul 2000 20:59:04 +0000 |
| Subject: | Re: a bit OT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6270@lists.php.net to get a copy of this message | ||
Just an aside. You can avoid the pipe to gzip by using zcvf.
Michael
Boaz Yahav wrote:
> I'm using tar and gz to backup my file daily with a php script.
>
> I'm using :
>
> system("/usr/sbin/tar cvf - /user/berber/web | /usr/local/bin/gzip >
> /user/berber/backup/Web." . $date . ".tar.gz");
>
> I want to exclude a sub directory from under /user/berber/web and whatever i
> do
> I can't get the syntax correct.
>
> any ideas?
>
> Sincerely
>
> berber
>
> Visit http://www.weberdev.com Today!!!
> To see where PHP might take you tomorrow.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net