[oclug]an actual linux question ;-)
gabriel
the.angel.gabriel at rogers.com
Fri Jan 24 16:58:12 EST 2003
On January 24, 2003 01:42 pm, Patrick Smith wrote:
> find x -type f -print0 | xargs -0 --replace cp {} otherdir
thanks so much! i ended up using the above and all is going well. (it's
still going since i'm doing this to multiple cds). my question now is "what
did i do?
to clarify, i understand that i'm asking find to look for all files in
directory "x" and that it should separate the files with a null byte. i then
pipe the output of find to xargs with then separates the files on that null
byte... but that's where i leave off.
what is this "--replace cp {}" business?
--
"mr. ghandi, what do you think of western civilization?"
"i think it would be a good idea."
- reporter to mahatma ghandi
More information about the OCLUG
mailing list