#!/bin/bash for filename in "$@"; do echo "Creating PDF file for $filename" epstopdf $filename done