Should you find an error or improve anything please consider opening an issue or pull request.
If you find my work useful, please consider donating via PayPal.
It would mean a lot to me.
A collection of useful command that are rarely used (maybe once a year or for fresh OS installations) and so, hardly remembered.
This is not a beginners guide. These commands want to help medium/high experienced users that need more control over basic system settings.
⌘+F anything you need!
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
If you want to set defaul view in fider, this will be applied to new visited directories only. By deleting all .DS_Store files, every directory history will be deleted as well.
sudo find / -name .DS_Store -delete; killall Finder
sudo mount -uw /
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew update && brew install bash && sudo chsh -s /usr/local/bin/bash $(whoami)
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -float 0.5; killall Dock
defaults write -globalDomain AppleScrollerPagingBehavior -bool true
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
Enable closing finder unless is the only app running. Once closed the desktop icons will not be visible
defaults write com.apple.finder QuitMenuItem -bool true
List all snapshots
tmutil listlocalsnapshots /
delete snapshot
sudo tmutil deletelocalsnapshots "insert-date-here"