hamecoded
8/6/2014 - 12:46 PM

osx

# 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