Create a linux shell script that will:
1. Get a list of files from a directory
2. Execute a function like (mv or cp) for each file returned from step 1.
3. The parameters for the script should be the path (/var/tmp) and file mask (*.txt)
Looking for a simple, straightforward example that I can modify to meet my needs.