]> git.decadent.org.uk Git - dak.git/blob - scripts/debian/moveftp.sh
Add location_id to return value of str(somelocation).
[dak.git] / scripts / debian / moveftp.sh
1 #!/bin/bash
2
3 set -e
4 set -u
5
6 FTPDIR="/org/upload.debian.org/ftp/pub/UploadQueue/"
7 SSHDIR="/org/upload.debian.org/UploadQueue/"
8
9 yes n | find ${FTPDIR} -type f -mmin +15 -print0 -exec mv -i --target-directory=${SSHDIR} "{}" +