Skip to content

Instantly share code, notes, and snippets.

@jrudolph
Created December 18, 2009 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrudolph/259585 to your computer and use it in GitHub Desktop.
Save jrudolph/259585 to your computer and use it in GitHub Desktop.
unzip -q $1 -d $1.dir &&
find $1.dir ! -executable -type d -exec chmod +rwx {} \; &&
find $1.dir ! -readable -exec chmod +r {} \; &&
rm $1 &&
mv $1.dir $1 &&
echo $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment