>
> find / -name 'fred*.xml' | cp - /home/fred/fredbackup
>
> bad example but the gist is the the - is a placeholder for the piped
> list of file names. Is there an easy way to do this with some obscure
> linux/unix syntax {}/\@ perhaps?
>

also you want to do find -xdev also as otherwise if you run it again it'll
find all the xml files in h/ome/fred/fredbackup and try to copy them onto
themselves.. -xdev makes it stay in one filesystem..

Dave.
 >
>
> Stu
>
>
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / [EMAIL PROTECTED]
pam_smb / Linux DecStation / Linux VAX / ILUG person

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to