如何在网络共享中递归搜索文件?

ænd*_*rük 10 nautilus search shared-folders

当我使用文件在网络共享中搜索时,它说:

远程位置 - 仅搜索当前文件夹

远程位置 - 仅搜索当前文件夹

我怎样才能让它像往常一样搜索所有文件夹?我知道搜索远程位置需要更长的时间,但我仍然想这样做。

Moh*_*mer 12

在较新版本的 Ubuntu 中 - 在我的情况下是 18.04 - 您可以从

文件 > 首选项 > 搜索和预览选项卡

并选中“在子文件夹中搜索”下的“所有位置”。


小智 7

您可以通过 dconf-tools 更改 Nautilus 首选项

/org/gnome/nautilus/preferences/recursive-search

将值更改为“始终”

  • 在这种特殊情况下,您可以使用 dconf 执行此操作。`dconf 写 /org/gnome/nautilus/preferences/recursive-search "'always'"`。我更喜欢安装 `dconf-editor` 进行一次性修改。缺点是您需要知道有效的键值。您可以通过运行 `gsettings range org.gnome.nautilus.preferences recursive-search` 来发现有效值 (2认同)