For example
find /Users/xxx/Desktop/directory|grep customtext$|awk ‘{print “sed -i -e ‘\”s/aaa/bbb/g’\” ” $1}’|sh
Archive for October, 2018
edit content of multiple files in place on Linux
Posted in Linux/Unix on October 16, 2018| Leave a Comment »