pwd:
/home/xxx
File present in:
/home/a/b/c/d/e/
Here I want to tar a directory "e" in pwd (i.e xxx folder).
I tried like this
tar -vcf tarfile.tar /home/a/b/c/d/e/
But the problem is it compressing all the directories like (/home/a/b/c/d/e
).
But I need directory "e" should be compressed.