add "show/hide hidden files" functions

This commit is contained in:
Bachynin Ivan 2018-12-10 01:33:08 +02:00
parent 8bfed01773
commit f53e3dd7be
3 changed files with 8 additions and 0 deletions

View file

@ -36,6 +36,8 @@ Functions
- `osx-rm-dir-metadata` deletes .DS\_Store, \_\_MACOSX cruft.
- `osx-ls-download-history` displays the macOS download history.
- `osx-rm-download-history` deletes the macOS download history.
- `showfiles` show hidden files in Finder.
- `hidefiles` hide hidden files from Finder.
Authors
-------

View file

@ -0,0 +1,3 @@
# Hide hidden files from Finder.
defaults write com.apple.finder AppleShowAllFiles NO
killall Finder

View file

@ -0,0 +1,3 @@
# Show hidden files in Finder.
defaults write com.apple.finder AppleShowAllFiles YES
killall Finder