# macOS
|  | **macOS** is an operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and laptop computers, it is the second most widely used desktop OS, after Microsoft Windows and ahead of Linux. |
|-|-|
| | wikipedia:: [MacOS](https://en.wikipedia.org/wiki/MacOS) |
## [[Apple Tools]]
## [[Homebrew]]
## [[Shell#Terminal on macOS]]
## [[macOS Services]]
## [[Launchd]]
## [[Apple Logging]]
## [[Malware]]
## [[Apple Shortcuts]]
## [[Property List]]
## Link to email from calendar/Fantastical event
- Things quick entry with auto fill can generate a link to the current open email. Then you can just copy and paste that into the event in Fantastical
## Batch Crop/Resize Images
- 1. Select All of the Files in Finder. 2. Open All of the Files in Preview. 3. Select All of the Images in Preview. 4. Resize All of the Images in Preview. Save the files with cmd-s
## Batch Rename Files in Finder
- Select files
- Right-click, select Rename x items...
- Options for numbering, formatting, etc.
## Show Hidden files in Finder
- keyboard shortcut: Cmd-shift-. Hides and unhides
## Change the search scope of a smart folder
- 2 Places Need to be updated:
- SearchScopes kMDQueryScopeComputer
- FXScopeArrayOfPaths kMDQueryScopeComputer
- To look like this:
- FXScopeArrayOfPaths /Users/evan/Dropbox/dev
- SearchScopes /Users/evan/Dropbox/dev
## Create new text file in current directory in Finder
- https://www.groovypost.com/howto/quickly-create-new-blank-text-file-windows-mac-linux/
- https://gist.github.com/rarylson/5d20fc96335851365a02
- tell application "Finder" to make new file at (the target of the front window) as alias with properties {name:"note.md"
> [!note]- Note: *I just use Keyboard Maestro and Better Touch Tool functionality now.*
>
## Aliases vs symbolic links vs hard links
- https://apple.stackexchange.com/questions/2991/whats-the-difference-between-alias-and-link
- https://www.lifewire.com/aliases-symbolic-links-hard-links-mac-2260189
## Add Spacers to Dock
- You can group all of your writing apps together, for instance. To get one single spacer in your Dock, you enter the commands: defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' killall Dock Unusually, there's no place in that command for you to specify that you want two or more spacers. To get extra ones, you enter the exact same command again. And again. Until you've got as many as you need. Equally, there's no version of this command for removing spacers but that's because you don't need one. Spacers in your Dock act like regular app icons in that you can drag them off until you see the word Remove. Again, it's hard to see where to click to drag like this but with your cursor anywhere near the spacer, you can right-click and get the functionally identical Remove from Dock option.
## You can drag aliases to the Finder toolbar! (cmd-opt drag)
## [[Symbols, Icons, & Logos#macOS Icons]]
## Fix bluetooth keyboard not renaming issue
- https://discussions.apple.com/thread/7964849
## Startup Options - [[Apple Default Hotkeys]]
## Unhide/hide Specific folder/file
`chflags nohidden <filename>`
- [terminal - How to unhide files on Mac? - Ask Different](https://apple.stackexchange.com/questions/309450/how-to-unhide-files-on-mac)
## Inbox
- [Minus.app — Minimal Productivity for macOS](https://www.minus.app/)
- [GitFinder - git client with Finder integration](https://gitfinder.com/?df=yes)
- [Open anything in VS Code using a MacOS quick action](https://www.jimbobbennett.io/open-anything-in-vs-code-using-a-macos-quick-action/)