We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I usually compress directory to tgz with same basename in the following way.
ouch compress dir1 dir1.tgz
Sometimes dir1 is complex with special char, I don't like to repeat myself. Can ouch add syntax {} to represent the directory name? Expect as follows.
{}
ouch compress dir1 {}.tgz
The text was updated successfully, but these errors were encountered:
We have a --format flag that works like this:
ouch compress LONG_NAME --format tar.gz OUTPUT_NAME
It could, in theory, not require the output file:
ouch compress LONG_NAME --format tar.gz
I need to think a bit more about this.
But here is a corner case, should Ouch panic if there are multiple input arguments?
ouch compress 1 2 3 4 5 {}.tgz
Sorry, something went wrong.
@owenstake do you have any opinions on this?
But here is a corner case, should Ouch panic if there are multiple input arguments? ouch compress 1 2 3 4 5 {}.tgz
No branches or pull requests
I usually compress directory to tgz with same basename in the following way.
Sometimes dir1 is complex with special char, I don't like to repeat myself.
Can ouch add syntax
{}
to represent the directory name? Expect as follows.The text was updated successfully, but these errors were encountered: