#!/bin/bash

for p in *_to_crop.pdf
do
pnew=`echo $p | sed -e 's/_to_crop//g'`
pdfcrop $p $pnew
done