Quote:
Quoting doublefailure
can you explain what xargs does just little bit?
|
I'm not mik, but maybe that'll do :}
Well, it takes whatever you feed it (usually from
stdin, usually something that will result in a number
of arguments >1 ;} ) and passes that as a parameter
to a command...
Lets say you want to display the contents of all
*.txt files in your ~ directory(and subs)....
Code:
find -iname \*.txt | xargs cat
Cheers,
Tink