I am compressing list of files like this:
tar cvzf mycompress.tar.gz /dir1/dir2/file1.txt /dir1/dir2/file2.txt
However when I uncompressed them the directory
/dir1/dir2/ is still preserved.
How to exclude that?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community