Dumps a recursive listing of an rclone remote, and converts it to a YoYotta CSV file that can be imported into NeoFinder.
This allows you to store offline indexes of your rclone remotes in a searchable NeoFinder database!
This script assumes that you have already configured an rclone remote on your system.
Currently the script only supports Google Drive, Amazon S3 and Dropbox as remotes. But you can add your own remotes in the rclone_cmds.py
file, modifying the rclone commands where appropriate.
rclone2neofinder -r remote -b bucket
-r/--remote: (required) Rclone remote name (as it appears in your 'rclone config' list).
-b/--bucket: (optional) Name of remote bucket, if applicable.
If your remote doesn't reference any buckets, the rclone remote name will be used as the Volume/catalog name that appears when you import the converted CSV into NeoFinder. Otherwise, the bucket name will be used as the Volume name.
A caveat to using rclone to retrieve remote directory listings is that some cloud storage providers don't support the --fast-list
(ListR) feature, which can cause file listings to seemingly take forever if you're indexing a remote that has a lot of files in it (e.g. Dropbox).
Please reference rclone's list of supported cloud providers to check if your provider supports --fast-list
(ListR).
The resulting Yoyotta CSV file can then be imported into NeoFinder, via the File/Import Catalogs… menu, then selecting "Yoyotta CSV text file" as the catalog format.
The CSV will be imported into NeoFinder using the name of the bucket (or remote) as the catalog name. From there, you can move it into a NeoFinder folder, if desired.