[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] tar and date
- Subject: [ale] tar and date
- From: fletch at phydeaux.org (Fletch)
- Date: Wed Mar 23 23:12:57 2005
- In-reply-to: <ED82B8B59EA2D44C9E64E228028E4B34029CBA@poly_ethylene.corp.polyengineering.com> (Preston Boyington's message of "Wed, 23 Mar 2005 14:13:59 -0600")
- References: <ED82B8B59EA2D44C9E64E228028E4B34029CBA@poly_ethylene.corp.polyengineering.com>
>>>>> "Preston" == Preston Boyington <PBoyington at polyengineering.com> writes:
[...]
Preston> /bin/tar -zcpf /usr/local/share/data/`date
Preston> +%Y-%m-%d`.tar.gz /usr/local/share/data/
[...]
Preston> Does this look remotely correct to anyone? Anything I am
Preston> forgetting?
You probably want an --exclude='*.tar.gz' argument to tar since you're
writing the tarballs into the same directory you're tar'ing.
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org| Vincent, you should cease askin' \ o.O'
| scary questions." -- Jules =(___)=
| U