mac os x怎么关闭mac os 显示隐藏文件件

在 OS X 中如何设置隐藏文件夹?
能否设置?如果可以,应该怎么设置隐藏文件夹?
按投票排序
我知道的方法,有三类:一,在终端中,通过命令行方式设置文件夹的隐藏属性。终端位置:应用程序 – 实用工具 – 终端,或者在菜单栏右上角的 Spotlight 中搜索「终端」,运行,进入需隐藏文件夹所在的父级文件夹。方法一:输入mv 'abc' '.abc'方法二:输入chflags hidden ~/路径/文件夹名二,空白文件名,空白文件夹图标1. 文件夹名字取一堆空格。2. 找张图片,用预览打开,全图设置为 alpha,全选,拷贝。3. 右键点击需隐藏文件夹,显示简介,单击图标,粘贴。三,用第三方工具比如:欢迎补充!
改名,前面加个点。比如,本来是abc, 不隐藏的,改成.abc就隐藏了。不过Finder里面不许这么干,我用terminal:mkdir abcopen .这个时候你可以看到,然后:mv abc .abc这个时候就消失了,其实folder还在。不知道有没有别的办法。补充:改名的如果要反隐藏,只能改回没有.的。比如 mv .abc abc如果要访问,可以不改名,去terminal里面cd .abcopen .也可以finder里面CMD+SHIFT+S直接输入路径。有别的办法,可以不改名。chflags hidden abc就可以隐藏。chflags nohidden abc就可以显示。
看了大家的回答,自己试着用Automator写了一个服务,用来隐藏和显示当前Finder中被选中的文件夹和文件,加在右键菜单里,还可以设定快捷键。
ps.第一次用Automator- -
使用命令,进入到命令行模式:sudo mv foldername .foldername
打开“终端”,输入下面的命令:defaults write com.apple.finder AppleShowAllFiles -bool trueKillAll Finder不过,由于这些隐藏文件基本上都是些系统文件,所以建议大家只有在非常有把握的情况下再进行文件的修改。而且平时最好关掉这个选项,这样Finder既显得干净,又能避免误操作。再次隐藏这些文件的的方法和上面一样,只是把true改为false就可以了。defaults write com.apple.finder AppleShowAllFiles -bool falseKillAll Finder
跟我学Mac:隐藏和保护文件的技巧或者可以看这篇帖子
defaults write com.apple.finder AppleShowAllFiles -bool false 隐藏defaults write com.apple.finder AppleShowAllFiles -bool ture 显示
用软件吧,hide my mac.或者就直接自作一个DMG把要用的东西拖进去然后加密。
把文件隐藏到图片中的方法
已有帐号?
无法登录?
社交帐号登录如何在Mac OS X中开启或关闭显示隐藏文件命令_百度知道
如何在Mac OS X中开启或关闭显示隐藏文件命令
打开终端,输入:defaults write com.apple.finder AppleShowAllFiles -bool true
此命令显示隐藏文件defaults write com.apple.finder AppleShowAllFiles -bool false
此命令关闭显示隐藏文件命令运行之后需要重新加载Finder:快捷键option+command+esc,选中Finder,重新启动即可
其他类似问题
为您推荐:
显示隐藏文件的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.Mac Os X 系统显示隐藏文件的办法
对于首次使用 Mac 的朋友来说,可能会有点稍微有点不适应,那就是 OS X 里并没有显示和隐藏文件的菜单或者设置。然而,其实在苹果 Mac OS X 操作系统下,隐藏文件是否显示有很多种设置方法,最简单的要算在 Mac 终端输入命令。
打开终端,输入以下命令:
显示/隐藏Mac隐藏文件命令如下(注意其中的空格):
显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder
隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder
注意最后的killall Finder,表示结束Finder,结束后os x默认会重启这个东西&在打开文件夹,就已经将隐藏的文件显示出来了.
注意:开启显示隐藏文件后,每个目录都会有一个.DS_Store文件,删除后会在生成的..摘自wikipedia的介绍详细介绍:
.DS_Store (英文全称 Desktop Services Store)[1] 是一种由苹果公司的Mac OS X操作系统所创造的隐藏文件,目的在于存贮文件夹的自定义属性,例如文件们的图标位置或者是背景色的选择。
(window.slotbydup=window.slotbydup || []).push({
id: '2467140',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467141',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467142',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467143',
container: s,
size: '1000,90',
display: 'inlay-fix'
(window.slotbydup=window.slotbydup || []).push({
id: '2467148',
container: s,
size: '1000,90',
display: 'inlay-fix'}

我要回帖

更多关于 mac os x隐藏文件 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信