#!/bin/bash # If using the SmsToolTransceiver # please create the inbox folder, make it writable to smsd # and install this script as eventhandler if [ "$1" == "RECEIVED" ] ; then SOURCE="$2" FILE=`basename $SOURCE` DESTINATION="/var/spool/sms/inbox/$FILE" mv "$SOURCE" "$DESTINATION" fi