Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I add empty directories to a tar archive? #808

Open
mrconter1 opened this issue Feb 8, 2024 · 1 comment
Open

How do I add empty directories to a tar archive? #808

mrconter1 opened this issue Feb 8, 2024 · 1 comment

Comments

@mrconter1
Copy link

Hello!

I am trying to tar a folder with empty folder inside but they doesn't seem to be added. Is it not possible to add empty folders/directories to a tar archive?

@adamhathcock
Copy link
Owner

Possibly not. When I wrote things a while back, I considered empty directories a bug. I probably was wrong. Git also has this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants