tar question...
Matthew Emmerton
matt at gsicomp.on.ca
Thu Oct 30 04:00:32 PST 2003
> 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
More information about the freebsd-questions
mailing list