Script that removes all plugins on Mac except "AU"

Audio Plugin Hosts and other audio software applications discussion
RELATED
PRODUCTS

Post

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/

Post

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).
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.

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.

Post

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.

Post

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'. :-).

Post

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'. :-).
Who is making scripts that blindly delete random folders?

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.

Post

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.

Post

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.
There is a guy who writes whole suite software and modules/scripts for astrophotography using AI.

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.

Post

isuckatproducing wrote: Thu Jan 29, 2026 5:26 pm But keep on hating while the world moves forward.
It's your filesystem mate. And whichever idiot downloads your script.

Post

This is the curse of vibe coding with people that have not done admin programming.... Remember, be careful out there.

Post

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.
What is admin programming?

Post Reply

Return to “Hosts & Applications (Sequencers, DAWs, Audio Editors, etc.)”