On Fri, 2005-01-14 at 18:04, Ciaran McCreesh wrote:
> 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":
Yes
> find . -type f -maxdepth 1 -iname '*gentoo*' -exec mv "{}" Gentoo/ \;
That worked Great. I was using
find . -type f -maxdepth 1 -iname *gentoo*
and that didn't work. How come?? (it lists everything!)
--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!
Neuromancer 20:59:38 up 8 min, 2
users, load average: 0.53, 0.69,
--
[email protected] mailing list