UDS可以将文件存储到GoogleDocs而不用考虑配额的问题。
特性上传文件到GoogleDrive而且并不占用存储空间下载存储的文件到本地逻辑GoogleDocs不会占用你的GoogleDrive的存储空间使用Base64编码将二进制文件拆开存放到 GoogleDocs编码后的文件一般比原始文件大,Base64和二进制文件的体积比例大概为 4:3.单一Google文档可以存储大约100万个字符,差不多是710kb的Base64编码数据多线程上传,但没有显著的性能提升AuthenticationHeadto Google'sAPIpage andenabletheDriveAPIDownloadtheconfigurationfileas'client_secret.json'totheUDSdirectoryrun pythonuds.py forinitialsetupUDSCoreUpload>pythonuds.pypushUbuntu.Desktop.16.04.isoUbuntu.Desktop.16.04.isowillrequired543Docstostore.CreatedparentfolderwithID1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8SuccessfullyUploadedUbuntu.Desktop.16.04.iso:[██████████████████████████████]100%[Layout]pythonuds.pypushargumentargument:Path_to_file+file_nameList>pythonuds.pylistNameSizeEncodedID-----------------------------------------------------------------------Ubuntu.Desktop.16.04.iso810MB1.1GB1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8Ubuntu.Desktop.18.10.iso1.1GB1.3GB1RzzVfN9goHMTkM1Hf1FUWUVS_2R3GK7DAlsosupportssearchingwithaquery!>pythonuds.pylist"18"NameSizeEncodedID-----------------------------------------------------------------------Ubuntu.Desktop.18.10.iso1.1GB1.3GB1RzzVfN9goHMTkM1Hf1FUWUVS_2R3GK7D[Layout]pythonuds.pylistarguments:queryDownload>pythonuds.pypull1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8DownloadedUbuntu.Desktop.16.04.iso:[██████████████████████████████]100%[Layout]pythonuds.pypullargumentargument:id_of_fileDelete>pythonuds.pydelete1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8Deleted1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8[Layout]pythonuds.pydeleteargumentargument:id_of_fileAlphaExtensionsGrab>pythonuds.pygrabtest.7zUpdateSuccessful!Downloadedtest.7z:[██████████████████████████████]100%[Layout]pythonuds.pygrabargumentargument:name_of_fileErase>pythonuds.pyerasetest2.7zUpdateSuccessful!Deletedtest2.7z[Layout]pythonuds.pyeraseargumentargument:name_of_fileUpdate>pythonuds.pyupdateNameEncodedSize----------------------file_name1.1GB810MB"User.txt"NameEncodedSize----------------------file_name1.1GB810MB"data.txt"{"file0":"1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8""file2":"1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms9"}[Layout]pythonuds.pyupdatearguments:NoneBulkExtensionsBunch>pythonuds.pybunchtesttest.7z.1willrequire1337Docstostore.CreatedparentfolderwithID1fc6JGpX6vUWiwflL1jBxM1YpuMHFAm12SuccessfullyUploadedtest.7z.1:[██████████████████████████████]100%test.7z.2willrequire1337Docstostore.CreatedparentfolderwithID1fc6JGpX6vUWiwflL1jBxM1YpuQQFAm12SuccessfullyUploadedtest.7z.2:[██████████████████████████████]100%test.7z.3willrequire600Docstostore.CreatedparentfolderwithID1fc6JGpX6vTOiwflL1jBxM1YpuQQFAm12SuccessfullyUploadedtest.7z.3:[██████████████████████████████]100%[Layout]pythonuds.pybunchargument[1]argument[2]argument[1]:name_in_files,orwildcard"?"withoutquotesargument[2]:directory,defualtiscurrentdirectoryofUDSBatch>pythonuds.pybatchfile_nameUpdateSuccessful!Downloadedfile_name.7z.1:[██████████████████████████████]100%Downloadedfile_name.7z.2:[██████████████████████████████]100%Downloadedfile_name.7z.3:[██████████████████████████████]100%[Layout]pythonuds.pybatchargumentarguments:name_in_files,orwildcard"?"withoutquotesWipe>pythonuds.pywipefileUpdateSuccessful!Deletedfile.7z.1Deletedfile.7z.2Deletedfile.7z.3[Layout]pythonuds.pywipeargumentarguments:name_in_files,orwildcard"?"withoutquotes兼容Python3.
评论