]> git.decadent.org.uk Git - dak.git/blob - scripts/debian/moveftp.sh
Not nice, but some doc
[dak.git] / scripts / debian / moveftp.sh
1 #!/bin/bash
2
3 set -e
4 set -u
5
6 FTPDIR="/srv/upload.debian.org/ftp/pub/UploadQueue/"
7 SSHDIR="/srv/upload.debian.org/UploadQueue/"
8
9 find ${FTPDIR} -type f -mmin +15 -print0 -exec mv --no-clobber --target-directory=${SSHDIR} -- "{}" +