Brian Somers([EMAIL PROTECTED])@2001.04.20 11:29:15 +0000:
> find something | xargs cp {} target_directory
>
> or
>
> find something | xargs -i '[]' cp '[]' target_directory
>
or
find something -exec cp {} target_directory \;
from find(1):
-exec utility [argument ...];
True if the program named utility returns a zero value as its ex-
it status. Optional arguments may be passed to the utility. The
expression must be terminated by a semicolon (``;''). If the
string ``{}'' appears anywhere in the utility name or the argu-
ments it is replaced by the pathname of the current file.
Utility will be executed from the directory from which find was
executed.
/k
--
> who | grep -i blonde | date; cd ~; unzip; touch; finger; mount;\
> gasp; yes; uptime; umount; sleep
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
[Key] [KeyID---] [Created-] [Fingerprint-------------------------------------]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message