 <p>Script <strong>program</strong>:</p> <pre><code>#!/bin/bash for file in "$@";do echo "$file" done </code></pre> <p>Run program:</p> <pre><code>path/to/program filename1.* path/to/program filename1.* filename2.* path/to/program filename1.ext1 filename1.ext2 etc... </code></pre>