macOS TimeMachine恢复隐藏文件

macOS自带的时间机器(TimeMachine)还是很好用的,只是如果误删的文件是隐藏文件,操作起来稍微复杂了一些。具体参考如下:

  1. Open the Terminal.

  2. Run the following command:

    $ defaults write com.apple.finder AppleShowAllFiles TRUE;killall Finder
  3. Go to the location of the missing hidden folder and invoke Time Machine to restore it.

  4. Run the following command to hide files:

    $ defaults write com.apple.finder AppleShowAllFiles FALSE;killall Finder

参考链接


How to access hidden files to restore in Time Machine

发布者

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注