Cutoff_date = Todays_date - 31 For each file If creation_date < cutoff_date delete file End If statement End For each loop #### #!/sbin/sh touch -t `date +"%m%d%H%M.%S"` timefile sleep 5 #sleep 5 seconds touch timefile2 echo `find ./ -type f -newer timefile`