🧙‍♂️️Utility to write on NTFS volumes in MAC for free!

Free utility that asks you to make your NTFS disks and USB sticks writable

The problem: Trying to write in an external disk in my MacBook pro 💻

Automate this? Here comes the funny part 🤖

set lastVolumeAdded to replace_chars(input as string, ":" as string, "" as string)
set diskType to do shell script "diskutil info -plist '" & lastVolumeAdded & "' | grep -A 1 'FilesystemType' | sed -n \"s@.*<string>\\(.*\\)</string>.*@\\1@p\""
set fstabSpace to "\\\\\\\\040"
set spacing to " "
set fstabVolumeName to replace_chars(lastVolumeAdded as string, spacing, fstabSpace)
set spacing to " "set fstabVolumeName to replace_chars(lastVolumeAdded as string, spacing, fstabSpace)set response to do shell script "grep " & fstabVolumeName & " /etc/fstab | sed"
do shell script "echo LABEL=" & fstabVolumeName & " none ntfs rw,auto,nobrowse >> /etc/fstab" with administrator privileges
do shell script "diskutil unmount '" & lastVolumeAdded
do shell script "diskutil mount '" & lastVolumeAdded
open /Volumes
tell application "Finder"
activate
open ("/Volumes" as POSIX file)
delay 0.1
set target of front window to ("/Volumes/" & lastVolumeAdded as POSIX file)
end tell
When the volume is already in fstab, the script just opens Finder
utility.workflow file that you can install on any mac computer

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store