Is it possible to create a tar with the folder and file name structure, but without any of the file data?

So a reference tar ball effectively?


Yes, one may have both directories and (sym-)links in a tar file: see Tar Format Documentation.

In this case, one would have an archived structure, but no file content in the tar archive.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.