Advertisement
kpfp_linux

Untitled

May 21st, 2013
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. #!/bin/bash
  2. set -x
  3. #find lib -mindepth 2 -maxdepth 2 -type f -name SKIP | xargs -n1 -i rm -rf {}
  4. find lib -mindepth 1 -maxdepth 1 -type d | grep -ve 'ssl\|tools\|xmerl\|inets\|kernel\|mnesia\|os_mon\|public_key\|runtime_tools\|sasl\|ssh\|compiler\|crypto\|erl_interface\|erts\|et\|stdlib\|edoc' | xargs -n1 -i touch {}/SKIP
  5. set +x
  6.  
  7. echo "NOT INCLUDED =========================================================="
  8. find lib -mindepth 2 -maxdepth 2 -type f | grep SKIP | sort
  9.  
  10. echo "INCLUDED =============================================================="
  11. for i in ssl tools xmerl inets kernel mnesia os_mon public_key runtime_tools sasl ssh compiler crypto erl_interface et stdlib; do ls lib/$i/SKIP; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement