From aa0907e8e139c58917b4343df6b0901289bfe027 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 20 Jan 2009 22:14:06 +0100 Subject: [PATCH] moveftp.sh little script to be used on ravel, whenever ravel is hosting ftp.upload.d.o, so we don't need two queueds Signed-off-by: Joerg Jaspert --- scripts/debian/moveftp.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/debian/moveftp.sh diff --git a/scripts/debian/moveftp.sh b/scripts/debian/moveftp.sh new file mode 100755 index 00000000..6aecc289 --- /dev/null +++ b/scripts/debian/moveftp.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e +set -u + +FTPDIR="/org/upload.debian.org/ftp/pub/UploadQueue/" +SSHDIR="/org/upload.debian.org/UploadQueue/" + +yes n | find ${FTPDIR} -type f -mmin +15 -print0 -exec mv -i --target-directory=${SSHDIR} "{}" + -- 2.39.5