Skip to content

Instantly share code, notes, and snippets.

View coolchevy's full-sized avatar

Vitalii coolchevy

View GitHub Profile
@coolchevy
coolchevy / workspace.sh
Created May 25, 2016 22:09 — forked from dixson3/workspace.sh
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.
#!/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() {