如何隐藏像“系统卷信息”或“回收器”这样的文件夹,就像在 Windows 上一样?

Ami*_*zoR 6 windows nautilus hidden-files ntfs

我有这个外部硬盘驱动器,我在 Windows 中使用它,现在我在 Ubuntu 上使用它,看到像System Volume Information. 或者我怎样才能隐藏任何文件?

mmm*_*743 18

Just create text file .hidden on your external hard drive, and add folders you wish to hide, like this:

found.000
$RECYCLE.BIN
RECYCLER
System Volume Information
Run Code Online (Sandbox Code Playgroud)

After that make sure to refresh the view (F5) and the folders should now be invisible.

PS. if you wish to see/hide hidden files/folders press Ctrl+H.


Web*_*b-E 0

问题是在linux中,windows的隐藏属性不起作用。

要隐藏文件/文件夹,请.在文件名前面添加一个。

但是由于这些文件夹是 Windows 中的系统文件夹,将它们重命名.可能会损害操作系统稳定性,或者 Windows 可能会创建另一个同名的文件夹,该文件夹在 Linux 中将再次可见

所以你必须忍受这一点。:)