在 Windows 中隐藏 Linux 隐藏文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2461943/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:08:08  来源:igfitidea点击:

Hide the Linux Hidden files in windows

windowslinuxfilewindows-vista

提问by Kiran

Is it possible to hide the Linux hidden files (.* files ) in Windows.

是否可以在 Windows 中隐藏 Linux 隐藏文件(.* 文件)。

Does explicitly hiding the files by changing the file properties in windows have any effect in Linux.. ??

通过在 Windows 中更改文件属性来显式隐藏文件在 Linux 中是否有任何影响.. ??

Thanks

谢谢

Kiran

基兰

采纳答案by Sjoerd

There is no way to hide them automatically, but you can safely mark them all as "hidden", if your filesystem supports that.

没有办法自动隐藏它们,但是如果您的文件系统支持,您可以安全地将它们全部标记为“隐藏”。

回答by Ignacio

the command ATTRIB +Hwas very usefull for my needs; I wanted to hide in Windows 7 all linux *.hidden files created in my data drive (in my case D:), so I used the following command line:

该命令ATTRIB +H对我的需求非常有用;我想在 Windows 7 中隐藏在我的数据驱动器中创建的所有 linux *.hidden 文件(在我的情况下为 D:),所以我使用了以下命令行:

C:\>attrib +h D:\*.hidden /S

C:\>attrib +h D:\*.hidden /S

and it worked very fine. Thanks for your help!

它工作得很好。谢谢你的帮助!

回答by ghostdog74

you can open your command prompt, then use attrib +Hon your hidden files. type attrib /?for more info

您可以打开命令提示符,然后attrib +H在隐藏文件上使用。输入attrib /?更多信息