utilities-for-pdf First of all you have to give it execution permissions: chmod +x pdf_utilities.sh How to use: pdf_utilities.sh /path/to/folder/with/your/pdfs