This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# extract jpg from PDF | |
# based on a script edited by Purch | |
##################################### | |
if [ -z $1 ];then echo Give target directory; exit 0;fi | |
find "$1" -depth -name '*.pdf' | while read file ; do | |
directory=$(dirname "$file") | |
oldfilename=$(basename "$file") |
OlderNewer