Open owenstake opened 5 months ago
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
@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
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.