In Windows I would create a .bat file to run this script from my desktop, on my Mac how do I create something similar that can be run from the desktop to execute this:
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
Create a file with the following content
#!/bin/bash
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
From the terminal.app, run chmod o+x <filename> to make the file executable.
To run the file simply open the terminal.app and ./<filename>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With