Skip to content

Instantly share code, notes, and snippets.

@tomazursic
Created July 2, 2019 08:07

Revisions

  1. tomazursic created this gist Jul 2, 2019.
    12 changes: 12 additions & 0 deletions fucommands.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@

    ## 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