Jump to content

RemoveQuarantine — Remove the quarantine attribute from app bundles and disk images


vitor

Recommended Posts

Call rq and a list of your top-level apps at /Applications with the file quarantine attribute will be shown. Action any of them and the quarantine will be removed.


CUJF4uI.png

 

Results are treated as files, so you can select a bunch of them at once via the File Buffer, to act on multiple apps.

 

If the path you want to remove the attribute from is located anywhere else, you can find it and use the File Action on it for the same effect.

 

gcPTAVf.png


Warning: quarantining is a macOS security feature, and I do not recommend you disable it completely. This workflow was built exactly so you don’t have to, and can deal with it on a case-by-case basis. This simply makes the manual process more convenient and you should remove the quarantine attribute from apps at your own risk. Find more on file quarantine on Apple’s documentation.

 

Download | Source

Edited by vitor
Link to comment
  • 4 months later...
  • 6 months later...

Hi Vitor, I can't get the V21.2 version of this working with the File Action. For example I select an app, bring up Actions, then select remove quarantine and I end up with the path of the app in the Alfred window:

image.png.8a515557f5dc9ea434843edc8771fb94.png

I select that actions and I get this:

image.png.fe3152c8088e19d237137d2e771cb00c.png

 

In the debug pane, showing all information I see this:

 

[13:25:24.672] Logging Started...
[13:25:34.175] RemoveQuarantine[Script Filter] Queuing argument '(null)'
[13:25:34.540] RemoveQuarantine[Script Filter] Script with argv '(null)' finished
[13:25:34.543] RemoveQuarantine[Script Filter] <?xml version='1.0'?><items>

 

The script was sent 'null' which is bizarre as I definitely action the application and it does end up in the Alfred window...

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...