How To Remove the MacOS Quarantine Extended File Attribute for an Entire Directory Tree
xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *
xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *
Use Case: Export Apple Reminders from MacOS application to cleaned plain text, i.e. remove unwanted spaces, blank lines and square brackets PROCEDURE Click on a single item in the MacOS Reminders app list Select All (either Command-a or use Edit->Select All) Copy (either Command-c or use Edit->Copy) Open Terminal Run cleanme Paste the copied reminders […]
I use csshX on a daily basis. The default layout on my screen for three nodes is one column with three rows, one per node. This layout is excellent for visual positioning, but does make it harder to read long output. For this purpose, I start csshX using the column quantity specifier -x and I […]
As of Mac OS X Lion 10.7, Terminal provides Services for opening a new terminal window or tab at the selected folder in Finder. They also work with absolute pathnames selected in text (in any application). You can enable these services with System Preferences > Keyboard > Keyboard Shortcuts > Services. Look for “New Terminal […]
Use the ssh-keygen command on a computer to which you’ve downloaded your private key .pem file; for example: First, ensure permissions will allow ssh-keygen to work: chmod 600 /path/to/the/file/your-key-pair.pem Then generate an RSA public key: ssh-keygen -y -f /path/to/the/file/your-key-pair.pem > your-key-pair.pub
I installed an old version of Adobe software on my new Mac and as usual, it installed some daemons that are undesirable. Here is how I got rid of them via the Terminal. Note: Adobe installs daemons in the user context, so do this as your regular user login, not as root. shell> launchctl list […]
Launch System Preferences Select Users & Groups Select Login Options Select Join next to Network Account Server Select Open Directory Utility Click the lock and enter your password to make changes In the menu bar of Directory Utility, select Change Root Password Create a strong, unique password
You can associate a file extension with an app (such as MacVim) via the “Info dialog”. Just select the file and hit Cmd-i, then go to the “Open with” tab, select app and hit “Change all…”. This will change the default application for that file type.
Press Option+Space and the cursor will change to the grab hand move tool. Roll your mouse wheel for vertical scrolling, hold down shift to switch to horizontal scroll mode.
As per MS Support page: “My arrow keys don’t move from cell to cell” Press SHIFT+F14 to toggle the Scroll Lock to the off position. Applies To: Excel for Mac 2011 Cause: Scroll Lock is turned on and causing the arrow keys to scroll the workbook area. Solution: Turn off Scroll Lock. Typically, when a […]