[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stupid shell question



On Mon, Feb 13, 2012 at 01:44:21AM +0000, ACro wrote:
> 
> > for dir in `find -maxdepth 1 -type d`; do chdir $dir/bak; mv *.yml .. ; chdir
> > ../..; done
> 
> 
> Joel,
> 
> try this, HTH:
> 
>   for dir in `find -maxdepth 1 -type d`; do chdir $dir/bak; mv *.yml ../..; done

Thanks, I got something like that to work.

Regards,

Joel



 
> Kind regards,
> Andrew
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: 1329097461.4f386af5d329b@mail.bluebottle.com">http://lists.debian.org/1329097461.4f386af5d329b@mail.bluebottle.com
> 

-- 
Joel Roth


Reply to: