Skip to content

Instantly share code, notes, and snippets.

@hamecoded
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamecoded/c37a553af77c031515e0 to your computer and use it in GitHub Desktop.
Save hamecoded/c37a553af77c031515e0 to your computer and use it in GitHub Desktop.
# dump file
sudo sysdiagnose -f ~/Desktop/
# file attributes
# http://mabouali.wordpress.com/2012/05/03/attribute-in-mac-osx-and-files-being-in-use-showing-in-gray/
xattr filename
xattr -d com.apple.FinderInfo filename
# mount ntfs drive as writable
# taken off a comment from post http://learnaholic.me/2013/11/11/enable-ntfs-write-on-mac-os-x-mavericks
mount
# Copy the /dev/diskXXsY related with your hard drive
sudo umount /Volumes/Untitled
~ mkdir ntfs
sudo mount -o rw,auto,nobrowse -t ntfs /dev/disk1s1 ntfs
# single command
mount && sudo umount /Volumes/Untitled && sudo mount -o rw,auto,nobrowse -t ntfs /dev/disk1s1 ~/ntfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment