command line - Delete text from a bunch of .obj files at once using terminal - Ask Ubuntu


this question has answer here:

how can delete text attr_shiny_rat 0.900 bunch of .obj files @ once using terminal?

for in *.obj;   grep -v 'attr_shiny_rat\s0\.900' "$i" > temp   rm "$i"   mv temp "$i" done 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User