Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to validate local folder with amazon drive? #552

Open
0xFEEDC0DE64 opened this issue Apr 22, 2017 · 1 comment
Open

How to validate local folder with amazon drive? #552

0xFEEDC0DE64 opened this issue Apr 22, 2017 · 1 comment

Comments

@0xFEEDC0DE64
Copy link

I now uploaded my first Terrabytes of files (encoded as pictures), but I just found random upload errors (mostly timeouts and Http-Error 505).

I ran a acd_cli sync and tried uploading again, but the files that had a timeout were not uploaded again, because they already existed in the cloud! I am not sure if they were uploaded correctly.

How can I validate all my local files with those in the cloud and reupload those which are not 100% correct? I know from the windows client that amazon keeps a MD5 hash and filesize.

So I would like to see a validate option for acd_cli to validate a local folder with a folder in the cloud. Is this easily archievable?

@vb0
Copy link

vb0 commented May 26, 2017

It can be done for sure, see "rclone check" (this would be the easiest way but rclone isn't working anymore unless you have your own keys or borrow a token from some other app - DON'T do that!).

acd_cli is getting the md5s in the nodes.db. So it shouldn't be an issue to get the local md5s and then dump the list from nodes.db and compare. There is also "acdcli find-md5" but it seems to take a lot of time if you have a large(ish) db even for one file so probably not the right way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants