#!/usr/bin/env bash
#mkdir empty_dir
empty_dir=$( mktemp -d )
rsync -a -L --delete --progress $empty_dir/ logs/
rsync -a -L --delete --progress $empty_dir/ output/
rm core*
rmdir $empty_dir
#!/usr/bin/env bash
rclone delete logs/    --multi-thread-streams=16
rclone delete output/  --multi-thread-streams=16

rclone purge logs/
rclone purge output/

mkdir logs
mkdir output


Use rclone to delete results in parallel
Use rclone to delete results in parallel


Former-commit-id: 7d67537b0dda3a0fdb4f487d4ad36eabf24906b1