[ale] tar weirdness

Geoffrey esoteric at 3times25.net
Fri Jan 24 10:43:35 EST 2003




James P. Kinney III wrote:
> Tar is not working the way I think it is suppose to. I want to tarball a
> directory EXCEPT for files ending in .gdbm
> 
> tar cvzf tarball.tar.gz --exclude dir/*.gdbm dir

The only way I know how to do this is:

find dir -name '*.gdbm' -print > list

tar cvzf tarball.tar.gz --exclude-from list

--exclude I believe is a single file name, quit useless to me. :(

> 
> All it tars ARE the gdbm files. Does tar not support globing?

-- 
Until later: Geoffrey		esoteric at 3times25.net

The latest, most widespread virus?  Microsoft end user agreement.
Think about it...

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list