Jump to content

Remove Quarantine — Delete the quarantine attribute from app bundles and files


vitor

Recommended Posts

9 minutes ago, gingerbeardman said:

the slow part is the xattr call which is taking 0.023 seconds per app on my machine

 

That does seem slow. On an M1 with the time command I see 0.004 seconds but if I test with something more granular I can see the true number is closer to microseconds, even for apps with quarantining.


If you do which xattr in a Terminal, do you get /usr/bin/xattr or something else?

Link to comment

Thanks! rq now takes 1.5 seconds on my machine.

 

I guess a parallelised version might be even quicker? Of course, it's not necessary at this point but perhaps would be a fun exercise to realise an approach that might be able to be applied to other workflows.

 

Cheers

Edited by gingerbeardman
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...