Skip to content

Dumps a recursive listing of an rclone remote, and converts it to a YoYotta CSV file that can be imported into NeoFinder

License

Notifications You must be signed in to change notification settings

melmatsuoka/rclone2neofinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rclone2neofinder

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.

Usage Notes

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).

Importing into NeoFinder

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.

neofinder1 neofinder2

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.

neofinder-bucketlist

About

Dumps a recursive listing of an rclone remote, and converts it to a YoYotta CSV file that can be imported into NeoFinder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages