X-Git-Url: http://git.hcoop.net/clinton/scripts.git/blobdiff_plain/8862af6d48b78cf6cf055dec506e02704dbf141c..a2983bf8f9241b733bb827cf58ca54768026e986:/s3.common diff --git a/s3.common b/s3.common index f5f2361..0365beb 100644 --- a/s3.common +++ b/s3.common @@ -44,7 +44,8 @@ function move_over () { local dest=$BACKUPDIR/$subdir local ret split -d -b ${CHUNKSIZE}m - ${file}. - for i in ${file}.*; do +# for i in ${file}.*; do + for i in *.[0-9][0-9]; do echo "Transferring $i to S3 ..." s3_cmd put $dest/$i $i rm -f $i