mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
How do I add empty directories to a tar archive? #612
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrconter1 on GitHub (Feb 8, 2024).
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 commented on GitHub (Feb 8, 2024):
Possibly not. When I wrote things a while back, I considered empty directories a bug. I probably was wrong. Git also has this issue.