mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-02 17:40:26 +00:00
Add option to always extract to output_dir named after the archive even on single/one file #24
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 @uwidev on 2/12/2025
I wasn't initially aware of this behavior, but when extracting an archive that only has one element, the extracted file gets placed in the root directory (where the extract occurred) rather than a created directory named after archive. This actually resulted in problems for me when having multiple archives that just so happen to have a single file with the same name. This resulted in the filenames colliding and overwriting each other.
Would you consider having a option to always create a folder even if there is only one file?