Extracting Different File Types On Linux And Unix - Guest Post
|
|
|
Comments (3)
Extracting file types
There's an easier way in Debian
File type recognition by file extension is evil. There are muc better ways. Besides that, there already exist a universal commandline unpacker that does exactly what this script tries to do, but then properly: "unp".
Just `aptitude install unp` and then `unp your.archive.file`. The unp program can automatically use any and all unpackers that you have on your system (unrar, unzip, gunzip, untar, etcetera, etcetera).
Just `aptitude install unp` and then `unp your.archive.file`. The unp program can automatically use any and all unpackers that you have on your system (unrar, unzip, gunzip, untar, etcetera, etcetera).
There's also apack (recentry featured in the Package of the Day).
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help
Sign up and post (it is free) or Log in and post

I wish I knew where this stuff is hidden.