Skip to content

Instantly share code, notes, and snippets.

@ipedrazas

ipedrazas/rename.sh

Created May 18, 2020
Embed
What would you like to do?
Rename USB disk
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.