How To Loop Through Files in a Directory

Iterate through the files in a directory and run commands against them using shell scripting loops.

Source: How To Loop Through Files in a Directory | DigitalOcean