[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] tar question
- Subject: [ale] tar question
- From: fletch at phydeaux.org (Fletch)
- Date: 21 Jul 2000 17:00:34 -0400
>>>>> "David" == David S Jackson <dsj at sylvester.dsj.net> writes:
David> I'm experimenting with tar, which I should know much better
David> than I do. :-)
David> What's the best way to include ".filenames" without
David> including "..", which will include the everything in the
David> parent directory?
David> So far I've been going with:
David> tar cvfz tarball.tar.gz dirname/.* --exclude '..'
dirname/.[A-z]*
David> I want to include subdirectories and their dotfiles. Is
David> there a better way to do it?
If you use zsh you could specify things like:
dirname/**/* dirname/**/.*(.)
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
678 443-6239(w) | scary questions." -- Jules =(___)=
| U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.