Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. find /path/to/check -type f -o -type d | tr A-Z a-z | sort | uniq -d
  2.  
  3. find /Volumes/BOOTCAMP/ -type f -o -type d | tr A-Z a-z | sort | uniq -d
  4.  
  5. # cf. http://codesnippets.joyent.com/posts/show/8617
  6. IMAGE="${HOME}/Desktop/Case Sensitive Test.dmg"
  7. VOLNAME="Case Sensitive Test"
  8.  
  9. hdiutil create "${IMAGE}" -size 10m -fs HFSX -volname "${VOLNAME}" -layout NONE
  10.  
  11. hdiutil attach "${IMAGE}"
  12.  
  13. cd "/Volumes/${VOLNAME}"
  14. touch foo.txt Foo.txt
  15. open .
  16. ls -l [Ff]oo.txt
  17. stat -f "inode: %i -- name: %N" [Ff]oo.txt
  18.  
  19. cd ~
  20. hdiutil detach "/Volumes/${VOLNAME}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement