Generic file extracter

Simple but effective and handy utility for people dealing with hell lot of zips.

# Test if the program is installed
type -P $1 &>/dev/null || echo $1 not installed! ; exit 1;
# Try to extract
Switch for the appropriate case.

Check out the attached file, place it in /usr/bin or any appropriate location with the PATH exported for the same.

Share/Save
AttachmentSize
extract.773 bytes

0 comments on Generic file extracter

    Post new comment

    The content of this field is kept private and will not be shown publicly.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.

    More information about formatting options


Drupal SEO