If you have a custom archive suffix (e.g. foo.upr) then you are forced to pass around --type=tgz so that ebash knows the type to list it, extract it, etc. We should enhance archive_type to look for well known types, and if none are found, fall back to using file to figure out what the type is.
If you have a custom archive suffix (e.g. foo.upr) then you are forced to pass around
--type=tgz
so that ebash knows the type to list it, extract it, etc. We should enhancearchive_type
to look for well known types, and if none are found, fall back to usingfile
to figure out what the type is.