- search for more than 1gb files in a dir & remove the file with less size
for i in *;do (cd "$i" && MYVAL=$(rclone lsjson "." --min-size 1G |\
jq -r "select((. | length) > 1) | .[1].Path") && echo "$i/$MYVAL" && \
( test -f "$MYVAL" && rclone delete "$PWD/$MYVAL") );done