[ale] tar question

Fulton Green ale at FultonGreen.com
Fri Jul 21 17:00:44 EDT 2000


tar cvfz tarball.tar.gz ./dirname

Prepending "./" before current-working-directories works wonders for
other things, like deleting files accidentally named "-something" . :)

On Fri, Jul 21, 2000 at 04:49:20PM -0400, David S. Jackson wrote:
> I'm experimenting with tar, which I should know much better than
> I do.  :-)
> 
> What's the best way to include ".filenames" without including
> "..", which will include the everything in the parent directory?
> 
> So far I've been going with:
> 
> tar cvfz tarball.tar.gz dirname/.* --exclude '..'
> 
> I want to include subdirectories and their dotfiles.  Is there a
> better way to do it?
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list