Closed baaa closed 6 years ago
what if you do -z -d ?
both 4mc -z -d split_0000.4mz /tmp/delete/split_0000.json
and 4mc -z -d split_0000.json.4mz /tmp/delete/split_0000.json
works.
it even works without any extension at all (as it should) I guess the only trick is gotto know the compression type and provide -z flag, cheeers. I guess I will need to read the header and decide.
yes, it was implemented like that atm. it's not reading the header to understand the type. feel free to implement it and pull request, thanks in advance!
These commands are executed back to back on the same input file, it only works when I do not specify any output file at all
edit: also it fails with the same error if I have a dot(.) in the filename anywhere like:
4mc -d split_0000.json.4mz