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

nvidia - NV18 [GeForce4 MX 4000] driver - Ask Ubuntu

drivers - No wi-fi network after install - Ask Ubuntu