On Fri, 2005-01-14 at 18:10, Jan Callewaert wrote:
> * Ow Mun Heng <[EMAIL PROTECTED]> [2005-01-14 17:48:15 +0800]:
> 
> > Hi All,
> > 
> > I have no idea how else to put the subject. It's weird behaviour.
> > 
> > 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"
> > 

> The problem is that you have to deal with the spaces in the names:
> 
> find . -iname "gentoo.*pdf" | while read i
> do
>       mv "$i" Gentoo/
> done
> That should do the trick....

Actually that didn't help. No output after excuting the line.

This did the trick though.

find . -iname "*gentoo*" -maxdepth 1 | while read i
> do
> cp "$i" /tmp/pop
pop   popo  
> cp "$i" /tmp/popo/
> done
cp: omitting directory `./Gentoo'


Thanks..


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 21:02:42 up 11 min, 4 
users, load average: 0.35, 0.57, 


--
[email protected] mailing list

Reply via email to