diff --git a/modules/osx/README.md b/modules/osx/README.md index 1f93a2c3..abb8c923 100644 --- a/modules/osx/README.md +++ b/modules/osx/README.md @@ -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 ------- diff --git a/modules/osx/functions/hidefiles b/modules/osx/functions/hidefiles new file mode 100644 index 00000000..aa04325e --- /dev/null +++ b/modules/osx/functions/hidefiles @@ -0,0 +1,3 @@ +# Hide hidden files from Finder. +defaults write com.apple.finder AppleShowAllFiles NO +killall Finder diff --git a/modules/osx/functions/showfiles b/modules/osx/functions/showfiles new file mode 100644 index 00000000..603d2822 --- /dev/null +++ b/modules/osx/functions/showfiles @@ -0,0 +1,3 @@ +# Show hidden files in Finder. +defaults write com.apple.finder AppleShowAllFiles YES +killall Finder