Can run mount command with filter by file type

What is the problem you are having with rclone?

can i run mount command with filter by file type such as *.doc, *.exe

What is your rclone version (output from rclone version)


Which OS you are using and how many bits (eg Windows 7, 64 bit)

ubuntu 18.4 64bit

Which cloud storage system are you using? (eg Google Drive)

Google Drive and one drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Mount command

No, you can't filter by file type on a mount as it's for copy/sync/ls type commands.

What's your use case for doing that?

ah i just think to provide some link for some people with difference authorize

This sort of works.

You can use let's say "--include *.jpg" and it will filter the files to that.

It doesn't prevent you uploading non *.jpg files though - these will appear in the directory, then disappear when the directory cache expires.

So it kinda works - depends on exactly what you want to do with it!

That mean if i use --include *.jpg in my mount command then it will mount all folder with jpg file only?

That is correct. It doesn't stop people uploading jpegs though.

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