help pls looking for filename ending in _fin.pdf then copying to another folder
can someone help me with an applescript to look for a filename ending in _fin.pdf then copy it to another folder
thanks
KLESSER
Mac Pro
Apple Event: May 7th at 7 am PT
can someone help me with an applescript to look for a filename ending in _fin.pdf then copy it to another folder
thanks
KLESSER
Mac Pro
sorry i think i misinformed, it should end up with fini_c.pdf when copied to the new destination???
Kevlesser wrote:
sorry i think i misinformed, it should end up with fini_c.pdf when copied to the new destination???
Just change the copy to:
cp -n -v "$i" "$DestFolder3/${i%.*}_c.pdf"
Also, there was a typo, the variable should be: DestFolder3=/Volumes/SRA3\ Business\ Cards (I had Destfolder3)
help pls looking for filename ending in _fin.pdf then copying to another folder