When I specify root-folders in my tar command-line I deliberately prefix with "/" to tell tar it is root-folders and not sub-folders of current folder.
E.g.
tar --create --file="/tmp/test.tar" "/tmp/Folder 1/"
tar: Removing leading `/' from member names
Why is the leading "/" removed?
In regards to the -f
/ --file=
option:
If you want to output to stdout you use -f -
but it seems you cannot use --file= -
.
I thought -f
and --file
were aliases to each other?
Beside I cannot find the -f -
option in the manual (man tar)...shouldn't it be there? or have I just overlooked it.