basically, moving files inside at least 1 level of sub folders, exclude folders, that has the size of under 100000kbytes, to the current folder.
This works just fine if it is a rclone-mounted folder, but I wanted to execute it natively using rclone move.
I actually wanted to improve it with filtered list (i.e. file extensions that includes “pdf, zip and rar only”
Probably but it will involve scripting a moveto for each file.... I'd use rclone lsf from the latest beta which produces a much nicer output for scripting
Something like this maybe... (note the echo to print the last command)
Hmm though that needs the dir from the first xargs in the second...
This will be much less efficient than doing it via a mount though since each rclone invocation needs to do the initial handshake with the cloud storage.
To be more efficient you'd need to do it with rclone move. You'll also need to use a temporary directory otherwise you'll get errors with overlapping moves, eg something like this maybe