Auto sort large quantity of files

I've spent a while trying to figure this out but have yet to find a solution:
I have a folder with a large # of files labeled IM_0001 , IM_0002 etc and I need to move/copy every consecutive 7 images into a new folder. How do I go about doing this?
Thanks!

Categories

Asked:

on 22 May 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!