Script that removes all plugins on Mac except "AU"
-
- KVRist
- 131 posts since 6 Aug, 2021
Click Finder, press Shift-Command-G to open the "go to folder" box, type /Library
If you are looking for AUs, double-click Audio/Plug-Ins/Components
If you are looking for VSTs, double-click Audio/Plug-Ins/VST or VST3
If you are looking for AAX, double-click Application Support/Avid/Audio/Plug-Ins
Safely move or delete the plugins you don't want or need.
Done. A couple clicks, minimal typing, no esoteric knowledge or commands necessary.
Still too much? WBS Plugin Uninstaller is sometimes free.
https://www.widebluesound.com/audio-plugin-uninstaller/
If you are looking for AUs, double-click Audio/Plug-Ins/Components
If you are looking for VSTs, double-click Audio/Plug-Ins/VST or VST3
If you are looking for AAX, double-click Application Support/Avid/Audio/Plug-Ins
Safely move or delete the plugins you don't want or need.
Done. A couple clicks, minimal typing, no esoteric knowledge or commands necessary.
Still too much? WBS Plugin Uninstaller is sometimes free.
https://www.widebluesound.com/audio-plugin-uninstaller/
-
isuckatproducing isuckatproducing https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=586683
- KVRist
- Topic Starter
- 351 posts since 27 Oct, 2022
I’m using this command for 15 years or so and never deleted my whole drive, I’m not sure if it’s even possible with current Mac OS versions.ksandvik wrote: Tue Jan 27, 2026 6:16 am rm -rf is one of the most dangerous commands to script, if you miss a cd to a path and you stay in another direction, like your home dir, ho ho, bye bye your unprotected files. I would stay away from this script. Just use normal Finder commands to find files and delete them (to Trash).
And if I have tested the script I don’t see why would the script suddenly change directories, it doesn’t come with drunk AI built in.
-
- KVRian
- 810 posts since 26 Aug, 2005 from Oregon, USA
OK, good luck with that then.... rm -rf is the rat poison of deleting files, at least system drives will prompt for sudo but for your own files gone (not even in Trash) bye bye.
-
- KVRian
- 810 posts since 26 Aug, 2005 from Oregon, USA
Frankly speaking, anyone who writes shell scripts that blindly deletes with rm -rf without making backups or moving to the trash can should be sent to 'unix admin 101 classes'.
.
-
isuckatproducing isuckatproducing https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=586683
- KVRist
- Topic Starter
- 351 posts since 27 Oct, 2022
Who is making scripts that blindly delete random folders?ksandvik wrote: Thu Jan 29, 2026 1:35 am Frankly speaking, anyone who writes shell scripts that blindly deletes with rm -rf without making backups or moving to the trash can should be sent to 'unix admin 101 classes'..
My script has specified locations, and it’s funny that people think that if you learn a bit of programming then your code will be free from vulnerabilities etc, guess what? It won’t.
Don’t understand the hate on AI, now I needed a bash function that will change flac to aiff using 1 command, AI did it in 2 seconds.
As for backups, there are 2 kinds of people - people who make backups, and people who will make backups.
-
isuckatproducing isuckatproducing https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=586683
- KVRist
- Topic Starter
- 351 posts since 27 Oct, 2022
There is a guy who writes whole suite software and modules/scripts for astrophotography using AI.Gamma-UT wrote: Thu Jan 29, 2026 5:23 pm Impeccable logic there. Using a technique that can incorporate logic faults is just as bad as a technique that is practically guaranteed to contain logic faults.
But keep on hating while the world moves forward.
And of course I agree that AI can’t be trusted, same as random people online.
-
- KVRAF
- 6374 posts since 8 Jun, 2009
It's your filesystem mate. And whichever idiot downloads your script.
-
- KVRian
- 810 posts since 26 Aug, 2005 from Oregon, USA
This is the curse of vibe coding with people that have not done admin programming.... Remember, be careful out there.
-
isuckatproducing isuckatproducing https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=586683
- KVRist
- Topic Starter
- 351 posts since 27 Oct, 2022
What is admin programming?ksandvik wrote: Thu Jan 29, 2026 7:50 pm This is the curse of vibe coding with people that have not done admin programming.... Remember, be careful out there.