ouch-org / ouch

Painless compression and decompression in the terminal
https://crates.io/crates/ouch
Other
2.22k stars 75 forks source link

When compressing, tell what are the compression formats being used #302

Open marcospb19 opened 1 year ago

marcospb19 commented 1 year ago

Ouch might compress this archive:

ouch c src a.tar.gz.xz

Or this one:

ouch c src a.lz.7z.tar

The difference is that .lz and .7z are not supported and weren't identified.

It might be beneficial to say what format is being used in compression.

marcospb19 commented 1 year ago

Solving this allows us to also decide if we want to revert this PR.

I don't know what is the best approach to this.