> Hi list, the question is: can I tar a hole directory without include the
> tree ??? I mean when I tar all files in a /dir1/dir2/dir3 path, the tar
file
> includes me the path too and I want to tar only the filenames in dir3: I'm
> using the syntax tar -czf /path/to/store/myfile.tgz
> /the/path/where/are/the/files, any clue ???? Thanksssss...

cd /the/path/where/are/the/files
tar -czf /path/to/store/myfile.tgz .

--
Matt Emmerton

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to