The code does two things first one syncs your folders, second one downloads the files, it’s done 1 after the other so that it make sures it gets all your folders prior to downloading. it run 20 processes at a time, the speed you get depends on how fast your connection is, in the case of using google cloud it maxes out at 1.63Gbit/s approx 203.75MB/s
You need to figure out your paths, if you are syncing just a single folder you need to drill down to the parent folder that you want to sync, in this case are you syncing ZZEUS or are you sync skhr4jjs6pqc2l603qd5jtgaqg I don’t know your path structure only you know, I assumed ZZeus is your parent and skhr4jjs6pqc2l603qd5jtgaqg is your sub dir, and blah is your file so you point the find to the subdir for both *.cloudf and *.cloud
the line i gave you is the same except one is for .cloud and one is .cloudf reason is because i did all my folder syncs first then download, other people did the sync and download at the same time I didn’t want to do that.
I highlighted why it is downloading everything LOOK AT THE PATH, just change the path to the full path to the location of files/folders you do want to download and change -name “.cloud” to “.cloud” for some reason your system is not accepting the linked commands i.e. Command && Command
exec 6>&1;num_procs=10;output=“go”; while [ “$output” ]; do output=$(find “$HOME/odrive-agent-mount/Amazon Cloud Drive/ZZeus/skhr4jjs6pqc2l603qd5jtgaqg/” ".cloudf" -print0 | xargs -0 -n 1 -P $num_procs “$HOME/.odrive-agent/bin/odrive.py” sync | tee /dev/fd/6); done
find: ‘/home/terry/odrive-agent-mount/Amazon Cloud Drive/ZZeus/skhr4jjs6pqc2l603qd5jtgaqg/’: No such file or directory
find: ‘.cloudf’: No such file or directory
usage: odrive.py sync [-h] placeholderPath
odrive.py sync: error: too few arguments
I’m using the Windows Server + ExpanDrive to have my ACD available. Then I’m using Rclone to upload that to Google Drive. It worked last night with a few errors but kept going for the smaller files. Now on the bigger files, I’m getting 100% errors that “Failed to copy: read (encrypted file name here): A device attached to the system is not functioning.”
What is causing this error? I can access both ACD and Google Drive just fine. I went and got my own client ID and secret to use with Rclone.
I finished copying all of my data from ACD to the VM. I’m getting ready to upload to my gdrive accounts. I have one that is legit and one that I bought from ebay. I just want to make sure I don’t incur any large charges for data egress. I don’t know where the domain is located/registered for the ebay account, does that matter? The google compute pricing page says that data egress is free to google products so does it matter where the domain is located/registered? I appreciate the help!