Reputation: 33
I am working with the Python Google Drive SDK for Google App Engine, and I am trying to figure out how to search by the file checksum.
It seems that Google already generates md5 checksums for every file, and I would like to use that as a first check to avoid possible file duplication.
Anyone can lend some help?
Upvotes: 3
Views: 1496
Reputation: 13528
Sorry, md5sum is not one of the searchable parameters. Your app will need to retrieve the md5sums via files.list() and index them internally in order to perform such a search. Because the md5sum will change with every modification, this could prove to be pretty time consuming.
If you can offer more details about your full use case, there may be a better way to achieve your goals.
Upvotes: 4