I have to compress only the contents of the folder, not the folder with tar, there is any argument for that? I have search but I don't find anything.
Example:
mainfolder/
asd1
asd2
subfolder/
....
asdN
In my tar I want this:
asd.tar.gz/
asd1
asd2
subfolder/
....
asdN