-
-
Save miguelmota/3f380d75963ca16bd8cc64a10d0d2163 to your computer and use it in GitHub Desktop.
sudo rm -rf /Applications/Tuxera\ Disk\ Manager.app | |
sudo rm -rf /Library/Application\ Support/Tuxera\ NTFS | |
sudo rm -rf /Library/Filesystems/fusefs_txantfs.fs |
rm -rf /Library/Filesystems/tuxera_ntfs.fs
this works
@rodrigodicastro Those commands as in the sh-file would not normally do what you claim in any macOS. You ran the commands manually, didn't you? Somehow you have issued a sudo rm -rf /
(Note the space) anyway. This script when issued properly with sh doesn't.
Many have lost data for different reasons and learnt the lesson of using rotating multiline backups, much like how suggested here Practical and Robust Backup Strategy. Data is always at peril for all kinds of reasons. If it's important, protect it.
This is the other way using the cli :
For 2018 up to the latest release, run this command:
sudo /Library/Filesystems/tuxera_ntfs.fs/Contents/Resources/Support/uninstall-package.sh
For 2015 through 2016.1, use this command:
sudo /Library/Filesystems/fusefs_txantfs.fs/Contents/Resources/Support/uninstall-package.sh
For 2014 or earlier releases, the valid command is:
sudo /System/Library/Filesystems/fusefs_txantfs.fs/Support/uninstall-package.sh
@h3ct0rjs, well, there was a reason this sh file here was created and that was, I believe, that the Tuxera uninstall, that you point to, did not delete everything for whatever reason. That's why I came here and also added a few lines in comments as I found it wasn't complete.
There's NO security difference actually running this sh file and another sh file, like Tuxera's, except that, you always better check the commands before you run them as, as you imply, the rm command is very powerful and can cause issues in the wrong hands. That someone copies commands from this sh and executes them erroneously doesn't cast a shadow on this script nor its content.
Github is about sharing software and is really directed at developers. The sh file shared here is intended to be executed and this assumes you're knowledgeable enough to understand the potential consequences of, as well as being able to, using it in the way intended.
Anyone can make a mistake, but the person making the mistake should note the mistake was theirs and not blame others without proof there is an actual problem with the work product (the sh script in this case).
I might suggest you install brew (or similar) and the trash package instead and replace rm
calls with trash
(or an alias).
If you use trash -Fv
in rm's place you will see what is deleted (-v) and the Finder (-F) will do the move to the trash on the same volume at which the target resides, which means you can use Finder undo as well.
So using trash (see previous post) this would be a safer alternative (Warning, haven't tried this yet**):
launchctl unload /Library/LaunchAgents/com.tuxera.ntfs.agent.plist
sudo trash -Fv /Applications/Tuxera\ Disk\ Manager.app
sudo trash -Fv /Library/Application\ Support/Tuxera\ NTFS
sudo trash -Fv /Library/Filesystems/fusefs_txantfs.fs
sudo trash -Fv /Library/LaunchAgents/com.tuxera.ntfs.agent.plist
sudo trash -Fv /Library/PreferencePanes/Tuxera\ NTFS.prefPane
sudo trash -Fv /Library/Preferences/com.tuxera.NTFS.plist
Note that trash
puts folders into the trash as well and recursion is implied with that.
Of course you can also use open
for the paths and delete the files and folders manually.
** I successfully used all line by line on an old disk, after having installed brew and trash, and the only downside is I had to reauthorize Finder for each line. Skip the F if you want to avoid that.
/usr/local/sbin/mount_tuxera_ntfs
/usr/local/sbin/newfs_tuxera_ntfs
there is also theses files
EDIT: Someone posted this above, but I hadn't seen it.
For versions >= 2018 they recommend:
sudo /Library/Filesystems/tuxera_ntfs.fs/Contents/Resources/Support/uninstall-package.sh
@gholker I repeat my answer to the "someone" "@h3ct0rjs, well, there was a reason this sh file here was created and that was, I believe, that the Tuxera uninstall, that you point to, did not delete everything for whatever reason".
Did you verify that uninstall-package.sh
did also remove all the files and folders people have posted since 2020? If so, why not mention it? If not, why post what is already here?
nice, this works. that sucker is not enabling the uninstall button
This is also needed:
launchctl unload /Library/LaunchAgents/com.tuxera.ntfs.agent.plist sudo rm -rf /Library/LaunchAgents/com.tuxera.ntfs.agent.plist sudo rm -rf /Library/PreferencePanes/Tuxera\ NTFS.prefPane sudo rm -rf /Library/Preferences/com.tuxera.NTFS.plist
then my mac settings -> unable to load java panel
Me too but I didn't erase anything because I paid attention to the spaces.