On Wed, 2003-04-02 at 10:02, Stuart Guthrie wrote: > I'm looking at excluding files from a directory to be copied to another > disk. > > I cannot work out how to pipe the list of files into a cp command. > > eg > > find / -name 'fred*.xml' | cp - /home/fred/fredbackup
find / -name "fred*.xml" | cpio -pvdm /home/fred/fredbackup All your usual find tricks will work HTH Greeno -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
