Advertisement
marcopolorez

obfuscate.sh

Mar 22nd, 2016
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. #!/bin/sh
  2. cp server/ server-build/ -R
  3. cd server-build
  4.  
  5. files=`find . -regex .*.js`
  6.  
  7. for reg in $files; do
  8.     jsobfuscate $reg > x.tmp
  9.     mv x.tmp $reg
  10.     echo "COMPLETO "$reg
  11. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement