Add option to disable symlink dereference #17

Open
opened 2025-04-09 14:58:13 +00:00 by tcsenpai · 0 comments
Owner

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.

*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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/ouch#17
No description provided.