On Fri, 14 Jan 2005 17:48:15 +0800 Ow Mun Heng <[EMAIL PROTECTED]>
wrote:
| I'm trying to move a bunch of PDFs which has the words "gentoo" in it
| into a folder marked as "Gentoo/" and somehow I'm not succedding.
| (I'm too stubborn to want to do it the cut and paste way in nautilus"

Assuming by "folder" you mean "directory":

find . -type f -maxdepth 1 -iname '*gentoo*' -exec mv "{}" Gentoo/ \;

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm

Attachment: pgpGGOjDSPHGI.pgp
Description: PGP signature

Reply via email to