Hello, I’m trying the recursive download script example here: How can I force a recursive download with the CLI?
Note that I’m on Ubuntu18.
It was originally giving me errors, and I made some modifications. But alas, I guess I’m having some trouble understanding a portion of the script. Wondering if there are any more recent versions of this?
exec 6>&1;num_procs=3;output=“go”; while [ “$output” ]; do output=$(find “/home/shorton/odrive-agent-mount/” -name “.cloud” -print0 | xargs -0 -n 1 -P $num_procs python $(ls -d “$HOME/.odrive-agent/bin/”*/ | tail -1)/home/shorton/.odrive-agent/bin/odrive.py sync | tee /dev/fd/6); done
ls: cannot access ‘/home/shorton/.odrive/bin/*/’: No such file or directory
usage: odrive.py sync [-h] placeholderPath
odrive.py sync: error: too few arguments