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 this