mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-02 17:40:26 +00:00
Add option to disable symlink dereference #17
Loading…
x
Reference in New Issue
Block a user
No description provided.
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 @apcamargo on 2/15/2025
When using
ouch
to compress a directory into a.tar.gz
file, symbolic links are dereferenced, storing the target files instead of the links. In some cases, symlinks are used to reduce redundancy within a directory structure, and this behavior can lead to an unnecessarily large.tar.gz
file.It would be useful to have an option in
ouch
to preserve symbolic links instead of following them.