X-Git-Url: http://git.hcoop.net/clinton/scripts.git/blobdiff_plain/8862af6d48b78cf6cf055dec506e02704dbf141c..86a0f2e2d64c035e30dc4dc9634de8b1fb1e5c39:/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