Guest User

Untitled

a guest
Apr 20th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. FIND_PATH=`pwd`/Assets
  4.  
  5. if [ $# -ne 0 ]; then
  6. FIND_PATH=$1
  7. fi
  8.  
  9. find $FIND_PATH -type f -name "*.meta" | while read file
  10. do
  11. if [ -z "`grep \"guid\" \"${file}\"`" ]; then
  12. echo "${file}"
  13. fi
  14. done
Add Comment
Please, Sign In to add comment