#! /bin/csh if (!(-d "/var/root/Library/Recordings")) then echo "Creating Recordings folder in Library" mkdir /var/root/Library/Recordings endif echo "Copying all amr files to ~/Library/Recordings" cp -v /var/root/Library/Voicemail/*.amr /var/root/Library/Recordings