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

Re: Stupid shell question



> 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

Kind regards,
Andrew


Reply to: