Removing directory path from tar archives
if I do
tar -zcf file.tar.gz /some/path/to/dir
the tar (gz) file created has the whole path "/some/path/to/dir" in it, I want the archive to have "dir" only, how can I do this?
Sorry, found the answer.
|All times are GMT -5. The time now is 06:54 PM.|