How can I delete the text ATTR_shiny_rat 0.900 from a bunch of .obj files at once using terminal?
Asked
Active
Viewed 53 times
-1
David Foerster
- 36,890
- 56
- 97
- 151
1 Answers
0
for i in *.obj; do
grep -v 'ATTR_shiny_rat\s0\.900' "$i" > temp
rm "$i"
mv temp "$i"
done
David Foerster
- 36,890
- 56
- 97
- 151