What is the fastest way to search for and download specific files using rclone?

What is the fastest way to search for and download specific files using rclone?

Example 1. Finding specific file.

I want to search for a file called examplefile.jpg in all of the folders. I also want to use a wildcard because I only remember that the file is called examplesomething. Normally when I search I would use example* but that doesn't seem to work with rclone.

Example 2. Downloading specific file.

I want to download a specific file using rclone and wildcards. I know the name of the file starts with example so normally I would use something like get example* but that doesn't seem to work with rclone. How to do?

Please advise.

SM

https://rclone.org/filtering/

rclone ls --include "*examplefile*" remote:

Will list all files with examplefile in their names

rclone copy --include "*examplefile*" remote: /path/to/local

This will copy all files with "examplefile" in them (in their original directory structure) to the local path

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.