User Tools

Site Tools


programming:python:rclone-vers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
programming:python:rclone-vers [2023/10/22 22:18] jayprogramming:python:rclone-vers [2023/10/23 18:47] (current) – [Getting Previous Versions] jay
Line 3: Line 3:
  
 ===== Wrapping Rclone ===== ===== Wrapping Rclone =====
-I found [[https://forum.rclone.org/t/b2-version-support-with-encrypted-filenames/2417|this nice little shell script]] that will actually allow you to get an older version of a file.  While it does the job, it's pretty simple and hard-coded.  Therefore, I whipped up a Python script that's more flexible, allows you to choose the version to download, or simply download all the older versions.+I found [[https://forum.rclone.org/t/b2-version-support-with-encrypted-filenames/2417|this nice little shell script]] that will actually allow you to get an older version of a file.  It's worth noting that [[https://github.com/crustymonkey/rclone-vers|rclone-vers.py]] is a much more optimized version of that shell script, which will scan through every file in your bucket twice to find the desired files.  There are no full scans with this script.  While it does the job, it's pretty simple and hard-coded.  Therefore, I whipped up a Python script that's more flexible, allows you to choose the version to download, or simply download all the older versions.
  
 ==== Setup ==== ==== Setup ====
Line 64: Line 64:
                         The configuration for local enc. from the rclone.conf                         The configuration for local enc. from the rclone.conf
                         (default: local-crypt)                         (default: local-crypt)
-  -e ENC_FNAME, --enc-fname ENC_FNAME 
-                        You can optionally shortcut the search process by 
-                        passing in the encrypted filename path (default: None) 
   -o OUTDIR, --outdir OUTDIR   -o OUTDIR, --outdir OUTDIR
                         The directory to put the unencrypted file in (default:                         The directory to put the unencrypted file in (default:
programming/python/rclone-vers.1698013107.txt.gz · Last modified: 2023/10/22 22:18 by jay