Is it any way to find all files like *.js and insert some specific line at the beginning of the file? looking for something like:
find . -name '*.js' -exec sh -c '[insert this 'string'] "${0%.js}"' {} \;
Is it any way to find all files like *.js and insert some specific line at the beginning of the file? looking for something like:
find . -name '*.js' -exec sh -c '[insert this 'string'] "${0%.js}"' {} \;