/tmp doesn't work, need to create a ramdisk
diskutil erasevolume HFS+ 'RAM Disk' hdiutil attach -nobrowse -nomount ram://XXXXX
XXXX = size in MB * 2048 (not sure if the block size changes on different macs)
hdiutil detach /dev/ramdisk3
(Figure out how to either specify the name, or at least find out what it is.)
attach -mountpoint [path]
mkdtemp
/tmp doesn't work, need to create a ramdisk
diskutil erasevolume HFS+ 'RAM Disk'
hdiutil attach -nobrowse -nomount ram://XXXXXXXXX = size in MB * 2048 (not sure if the block size changes on different macs)
hdiutil detach /dev/ramdisk3
(Figure out how to either specify the name, or at least find out what it is.)
attach -mountpoint [path]
mkdtemp