Skip to content

Instantly share code, notes, and snippets.

@ipedrazas
Created May 18, 2020 08:48
Show Gist options
  • Save ipedrazas/ebbccdf2f24c71bb4ae4f3e347b21029 to your computer and use it in GitHub Desktop.
Save ipedrazas/ebbccdf2f24c71bb4ae4f3e347b21029 to your computer and use it in GitHub Desktop.

Revisions

  1. ipedrazas created this gist May 18, 2020.
    8 changes: 8 additions & 0 deletions rename.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # Source: https://help.ubuntu.com/community/RenameUSBDrive

    sudo apt-get install ntfsprogs
    sudo fdisk -l
    sudo umount /dev/sda1

    sudo ntfslabel /dev/sda1 usb_ext_6t
    mount /dev/sda1 /media/usb/usb_ext_6t