txt2mail.sh 187 B

123456
  1. #!/bin/sh -xe
  2. period=`basename \`dirname $0\``
  3. prep="/opt/txt2mail/var/1-prep/"
  4. ready="/opt/txt2mail/var/2-ready/"
  5. for file in `ls $prep$period`; do mv $prep$period"/"$file $ready;done