ask-sheldon.com
Delete x files from folder in a for i loop - Bravehartk2's Blog
This snipped shows, how to delete x files from folder using a for in loop, variable increments and an if statement in a one line bash script.
Sheldon