2024-04-25_08-35-27Z_Thursday database changed - and addition of detox
This commit is contained in:
parent
0cc22de954
commit
5f46950fb3
@ -33,9 +33,12 @@ status="$( echo ${response} | awk '{print $5}' )"
|
|||||||
email="$( echo ${response} | awk '{print $6}' )"
|
email="$( echo ${response} | awk '{print $6}' )"
|
||||||
email_unpadded="$( echo $email | sed 's/.nospam@nospam./@/g' )"
|
email_unpadded="$( echo $email | sed 's/.nospam@nospam./@/g' )"
|
||||||
|
|
||||||
source_dir="hpr:/home/hpr/upload/${timestamp_epoc}_${ep_num}_${ep_date}_${key}"
|
upload_dir="/home/hpr/upload/${timestamp_epoc}_${ep_num}_${ep_date}_${key}"
|
||||||
|
source_dir="hpr:${upload_dir}"
|
||||||
dest_dir="${timestamp_epoc}_${ep_num}_${ep_date}_${key}"
|
dest_dir="${timestamp_epoc}_${ep_num}_${ep_date}_${key}"
|
||||||
|
|
||||||
|
ssh hpr -t "detox -v ${upload_dir}/"
|
||||||
|
|
||||||
echo "INFO: Downloading hpr${ep_num} from ${email_unpadded}"
|
echo "INFO: Downloading hpr${ep_num} from ${email_unpadded}"
|
||||||
echo ""
|
echo ""
|
||||||
echo rsync -ave ssh --partial --progress ${source_dir}/ ${processing_dir}/${dest_dir}/
|
echo rsync -ave ssh --partial --progress ${source_dir}/ ${processing_dir}/${dest_dir}/
|
||||||
|
Loading…
Reference in New Issue
Block a user