if locate command does not work in Linux, cuz it is backed up by database
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
you should update database first
updatedb
;
linux find files and copy to a directory
find . -iname "*foobar*" -exec cp "{}" ~/foo/bar \;