Skip to content

Instantly share code, notes, and snippets.

@rojenzaman
Created May 25, 2020
Embed
What would you like to do?
Simple manage PDF title and author name by exif data.
#!/bin/bash
#
# Change the PDF title.
function guide() {
echo -e "usage: `basename $0` \"PDF Title\" \"Author Name\" pdfFileName.pdf";
exit 1;
}
if [ "$#" -lt 3 ]; then
guide;
fi
exiftool -Title="$1" -Author="$2" $3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment