从Linux创建隐藏的Windows文件/文件夹 [英] Create Hidden Windows file/folder from Linux

查看:282
本文介绍了从Linux创建隐藏的Windows文件/文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Windows上隐藏安装的SMB共享上创建文件? 。(点)前缀在这种情况下不起作用,因为它只适用于Linux。基本上我在寻找和在Windows上使用 attrib + h 一样的效果,而在Linux下。

Is it possible to create a file on a mounted SMB share that is hidden from Windows? The .(dot) prefix doesn't work in this case because that only works on Linux. Basically I'm looking for the same affect as using attrib +h on Windows, but under Linux.

推荐答案

您可以使用setmode文件名+ h

you can just use setmode filename +h

这篇关于从Linux创建隐藏的Windows文件/文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆