If you need to find out what the largest files are in a directory and subdirectories here is a command you can run that will find the top 5 largest files. find . -type f | sed ‘s/.*/”&”/’ | xargs ls -Slh | head -n 5 Breakdown: find . -type f: Find all files in
Fix “frozen” Evernote app when fullscreen on OS X
The Problem: When you start Evernote it goes into fullscreen mode. You are not able to use any features of Evernote and hear the “Do not click me” error sound. The Cause: There is some sort of message box that has popped up. You need to close this before using Evernote, however it has popped
List size of directories in the current folder in terminal
If you would like to list the size of all the directories in your current folder run the following command: [bash]du -a -h –max-depth=1 | sort -hr[/bash] This will provide output similar to [bash] 69M . 36M ./plugins 16M ./.git 14M ./themes 3.4M ./uploads 8.0K ./.DS_Store 4.0K ./upgrade 4.0K ./.revision 4.0K ./index.php [/bash]
Remove untracked local files from Git
If you have need to get rid of a bunch of files that are in your git repo but not yet tracked it can be tedious to do the job one file at a time. Git has you covered with the git clean command. Warning: This is a permanent loss of files. Always use –dry-run
Sync shared Google calendars with your iPhone or CalDAV device
When you add your Google account to an iPhone or CalDAV enabled device by default you will only see events from your calendar. If you someone has shared a calendar with you there is no clear way to make it available on your phone. Google has a tool to enable shared calendars to synch however