Originally Posted by irmin
Try calling tar with command "r" (append):
tar rf test.tar subfolder/text.txt
Or use the command "u" (update).
Maybe I didn't make myself clear. Text.txt cannot be in the subfolder but I want it to appear in subfolder inside the TAR.
I meant to use an r in my original message instead of c.
Something like tar rf test.tar:/subfolder text.txt