Guest User

Untitled

a guest
Jun 20th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # zip up all the files in the current directory
  4.  
  5. if [ $1 ]; then
  6. echo "Creating $1.oex"
  7. zip -r $1.zip .
  8.  
  9. # rename the .zip file to an .oex file
  10. mv $1.zip $1.oex
  11.  
  12. # open the .oex in Opera
  13. open $1.oex
  14. else
  15. echo "Please give your extension a name"
  16. fi
Add Comment
Please, Sign In to add comment