Skip to content

Instantly share code, notes, and snippets.

James Dixson dixson3

Block or report user

Report or block dixson3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hunt for inodes
sudo find . -xdev -type f | cut -d "/" -f 2 | sort --buffer-s ize=2G | uniq -c | sort -n
@dixson3
dixson3 / workspace.sh
Created Jan 10, 2014
Create and manage a case-sensitive disk-image on OSX. This is great when you have a need to work with case-sensitive repos on a mac.
View workspace.sh
#!/bin/bash
# where to store the sparse-image
WORKSPACE=~/Documents/workspace.dmg.sparseimage
create() {
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 60g -volname workspace ${WORKSPACE}
}
detach() {
You can’t perform that action at this time.