<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          UDS無限的驅(qū)動器存儲

          聯(lián)合創(chuàng)作 · 2023-10-01 04:58

          UDS 可以將文件存儲到 Google Docs 而不用考慮配額的問題。

          特性

          • 上傳文件到 Google Drive 而且并不占用存儲空間
          • 下載存儲的文件到本地

          邏輯

          • Google Docs 不會占用你的 Google Drive 的存儲空間
          • 使用 Base64 編碼將二進制文件拆開存放到 Google Docs
          • 編碼后的文件一般比原始文件大,Base64 和二進制文件的體積比例大概為 4:3.
          • 單一 Google 文檔可以存儲大約 100 萬個字符,差不多是 710kb 的 Base64 編碼數(shù)據(jù)
          • 多線程上傳,但沒有顯著的性能提升

          Authentication

          1. Head to Google's API page and enable the Drive API
          2. Download the configuration file as 'client_secret.json' to the UDS directory
          3. run  python uds.py  for initial set up

          UDS Core

          Upload

          > python uds.py push Ubuntu.Desktop.16.04.iso
          Ubuntu.Desktop.16.04.iso will required 543 Docs to store.
          Created parent folder with ID 1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8
          Successfully Uploaded Ubuntu.Desktop.16.04.iso: [██████████████████████████████] 100%
          
          [Layout]
          python uds.py push argument
          argument: Path_to_file+file_name
          
          

          List

          > python uds.py list
          Name                      Size   Encoded    ID
          ------------------------  -----  ---------  ---------------------------------  
          Ubuntu.Desktop.16.04.iso  810 MB  1.1 GB    1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8
          Ubuntu.Desktop.18.10.iso  1.1 GB  1.3 GB    1RzzVfN9goHMTkM1Hf1FUWUVS_2R3GK7D
          Also supports searching with a query!
          > python uds.py list "18"
          Name                      Size   Encoded    ID
          ------------------------  -----  ---------  ---------------------------------  
          Ubuntu.Desktop.18.10.iso  1.1 GB  1.3 GB    1RzzVfN9goHMTkM1Hf1FUWUVS_2R3GK7D
          
          [Layout]
          python uds.py list
          arguments: query
          
          

          Download

          > python uds.py pull 1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8
          Downloaded Ubuntu.Desktop.16.04.iso: [██████████████████████████████] 100%
          
          [Layout]
          python uds.py pull argument
          argument: id_of_file
          
          

          Delete

          > python uds.py delete 1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8
          Deleted 1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8
          
          [Layout]
          python uds.py delete argument
          argument: id_of_file
          
          

          Alpha Extensions

          Grab

          > python uds.py grab test.7z
          Update Successful!
          Downloaded test.7z: [██████████████████████████████] 100%
          
          [Layout]
          python uds.py grab argument
          argument: name_of_file
          
          

          Erase

          >python uds.py erase test2.7z
          Update Successful!
          Deleted test2.7z
          
          [Layout]
          python uds.py erase argument
          argument: name_of_file
          
          

          Update

          > python uds.py update
          Name       Encoded   Size 
          ---------  --------  -----
          file_name  1.1 GB    810 MB 
          "User.txt"
          Name       Encoded   Size 
          ---------  --------  -----
          file_name  1.1 GB    810 MB 
          "data.txt"
          {
          "file0": "1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8"
          "file2": "1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms9"
          }
          
          [Layout]
          python uds.py update
          arguments: None
          
          

          Bulk Extensions

          Bunch

          > python uds.py bunch test
          test.7z.1 will require 1337 Docs to store.
          Created parent folder with ID 1fc6JGpX6vUWiwflL1jBxM1YpuMHFAm12
          Successfully Uploaded test.7z.1: [██████████████████████████████] 100%
          test.7z.2 will require 1337 Docs to store.
          Created parent folder with ID 1fc6JGpX6vUWiwflL1jBxM1YpuQQFAm12
          Successfully Uploaded test.7z.2: [██████████████████████████████] 100%
          test.7z.3 will require 600 Docs to store.
          Created parent folder with ID 1fc6JGpX6vTOiwflL1jBxM1YpuQQFAm12
          Successfully Uploaded test.7z.3: [██████████████████████████████] 100%
          
          [Layout]
          python uds.py bunch argument[1] argument[2]
          argument[1]: name_in_files, or wildcard "?" without quotes
          argument[2]: directory, defualt is current directory of UDS
          
          

          Batch

          > python uds.py batch file_name
          Update Successful!
          Downloaded file_name.7z.1: [██████████████████████████████] 100%
          Downloaded file_name.7z.2: [██████████████████████████████] 100%
          Downloaded file_name.7z.3: [██████████████████████████████] 100%
          
          [Layout]
          python uds.py batch argument
          arguments: name_in_files, or wildcard "?" without quotes
          
          

          Wipe

          >python uds.py wipe file
          Update Successful!
          Deleted file.7z.1
          Deleted file.7z.2
          Deleted file.7z.3
          
          [Layout]
          python uds.py wipe argument
          arguments: name_in_files, or wildcard "?" without quotes
          
          

          兼容 Python 3.

          瀏覽 22
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  免费黄色做爱视频 | 69AV电影 | 天堂av影视 | 国产一二三在线观看 | 成人性生活片无码免费 |