From 36d3848729493bb72e4d672154a0c63e0256caf5 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Fri, 1 Aug 2014 18:21:09 +0200 Subject: [PATCH] scripts/debian/moveftp.sh: use mv --no-clobber --- scripts/debian/moveftp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/debian/moveftp.sh b/scripts/debian/moveftp.sh index 816febc6..7af638a0 100755 --- a/scripts/debian/moveftp.sh +++ b/scripts/debian/moveftp.sh @@ -6,4 +6,4 @@ set -u FTPDIR="/srv/upload.debian.org/ftp/pub/UploadQueue/" SSHDIR="/srv/upload.debian.org/UploadQueue/" -yes n | find ${FTPDIR} -type f -mmin +15 -print0 -exec mv -i --target-directory=${SSHDIR} "{}" + +find ${FTPDIR} -type f -mmin +15 -print0 -exec mv --no-clobber --target-directory=${SSHDIR} -- "{}" + -- 2.39.5