diff options
-rwxr-xr-x | ptmp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,8 +29,9 @@ done shift `expr $OPTIND - 1` PAD=$(md5sum $1 | cut -f1 -d' ') +BASE=$(basename $1) -DEST_NAME="${PAD}.$1${OPT_SUFFIX}" +DEST_NAME="${PAD}.${BASE}${OPT_SUFFIX}" scp $1 "${DEST_DIR}/${DEST_NAME}" |