Friday, August 12, 2016

Delete single line from multiple files containing specific word

To delete line which contains alsa-lib word from all .xml file, use
for f in *.xml; do sed -i '/alsa-lib/d' $f ; done

No comments:

Post a Comment