[ale] tar question

Fletch fletch at phydeaux.org
Fri Jul 21 17:00:34 EDT 2000


>>>>> "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.





More information about the Ale mailing list