Remove alias from sidebar

Hi, I have a script that automatically puts a sidebar alias to every job folder I create. After a while, there will be a huge amount of them. Is there a way to remove some items from the sidebar using AppleScript. Right now I do that task manually and as you may know, if there’s one AppleScript down side, it’s that it makes you lazy sometimes :slight_smile:


I guess, the easiest way is to edit ~/Library/Preferences/ > useritems > CustomListItems and restart the Finder