Skip to content

Instantly share code, notes, and snippets.

@tomazursic
Created July 2, 2019 08:07
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 tomazursic/374b61fd5cc4089964673fb2bad47051 to your computer and use it in GitHub Desktop.
Save tomazursic/374b61fd5cc4089964673fb2bad47051 to your computer and use it in GitHub Desktop.

Mount NTFS filesystem

# using this on osx derivate
sudo /usr/local/bin/ntfs-3g /dev/disk2s1 /Volumes/NTFS -olocal -oallow_other

Transfer disk image file on external drive with dd progress

# at the cost of speed! 
sudo pv -tpreb <file-name>.iso | sudo dd of=/dev/disk2 bs=4M 
# without pv from coreutils v8.24 
dd if=<file-name>.iso of=/dev/disk2 bs=4M status=progress 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment