Closed ghost closed 6 years ago
While I'm sure it works most of the time, what about files which don't have a traditional extension, or one at all?
EDIT:
Okay, basically, this is what I had in mind. Thought I'd just write it myself as I figured it would be pretty neat:
https://github.com/terminalforlife/miscellaneous/blob/dev/unpack
Do you think this approach is something you would consider incorporating into your function?
It's looks nice, but it has additional dependencies like mimetype and so I think this is not good idea
While I'm sure it works most of the time, what about files which don't have a traditional extension, or one at all?
EDIT:
Okay, basically, this is what I had in mind. Thought I'd just write it myself as I figured it would be pretty neat:
https://github.com/terminalforlife/miscellaneous/blob/dev/unpack
Do you think this approach is something you would consider incorporating into your function?