I want to tar the files
bar into a tar archive
archive.tar, but I want them to appear, within the archive, as being within a directory,
bazdir. Thus when I untar someplace I want
bazdir to be created and
bar to be created within it.
How can I do that?
This would be the opposite of:
create flat tar archive: ignoring all parents when adding folders