Pario TechnoBlob
About
Posts
Tag: xargs
Find all web pages that reference to www.example.com
find / -name '*html' -print \ | xargs grep -l 'www.example.com' \ | less -Opages
Rename files with one extension to another
The following command will rename all the files in the folder with the .txt extension to .rtf <br /> ls
.txt | sed 's/(.
).txt/ & \1.rtf/' | xargs -L1 mv<br />
««
«
1
2
»
»»