Created
June 27, 2019 16:02
-
-
Save chris1111/6b22396b20f191d0191d6fc308da048a to your computer and use it in GitHub Desktop.
Rename anny disk Applescript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Applescript create by chris1111 | |
tell application "Finder" | |
activate | |
# the original disk you want to rename | |
if exists disk "Catalina HD" then | |
# The name you want to give it | |
set theName to "Catalina-HD" | |
# the original disk you want to rename | |
set ORIG to "Catalina HD" | |
tell application "Finder" | |
set name of disk ORIG to theName | |
end tell | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE: On macOS Catalina 10.15 make sure your Disk is RW System before rename the drive.