#!/bin/sh DIR=/home/pdf DATE=`date +%F-%H%M%S` ps2pdf $1 /$DIR/$DATE.pdf rm $1