2

Is it possible to mount a folder with --no-recursive option and --folder-exclude, maxdepth options?

Kevdog777
  • 3,224
Akhil
  • 1,290

1 Answers1

4

According to these docs, sshfs doesn't support --no-recursive, --folder-exclude, maxdepth, or anything in the same vein (i.e. limit what's being mounted).

What you could try, if it's feasible for your use case, is make a selective clone of the remote dir on the remote machine, and mount that instead.

junvar
  • 156