Check if file is an archive; if yes, extract – unix.stackexchange.com

How can I check if a file is an archive and then extract it with 7z? I understand that I could check it by file command but it won't work in scripts because of its output. I can't predict what type of ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Check if file is an archive; if yes, extract – unix.stackexchange.com"