How To Remove the MacOS Quarantine Extended File Attribute for an Entire Directory Tree

xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *
![]() |
xattr -r -d com.apple.quarantine {dirname} ~or~ xattr -r -d com.apple.quarantine *
root@outbound:/var/log # postqueue -p -Queue ID- –Size– —-Arrival Time—- -Sender/Recipient——- 593E2FC69D 3970 Tue Sep 12 23:15:36 MAILER-DAEMON (connect to yourDomain.com[10.10.10.10]:25: Connection timed out) yourUser@yourDomain.com — 4 Kbytes in 1 Request. root@outbound:/var/log # postsuper -d 593E2FC69D postsuper: 593E2FC69D: removed postsuper: Deleted: 1 message root@outbound:/var/log # postqueue -p Mail queue is empty
In Terminal:
1 |
sudo mv /Library/Preferences/SystemConfiguration/com.apple.network.eapolclient.configuration.plist /Library/Preferences/SystemConfiguration/com.apple.network.eapolclient.configuration.plist.good |
Then reboot. YMMV… This is why I am so upset with Apple these days – they constantly “dumb-down” MacOSX, removing features to “protect” the innocent public from harming themselves with the click of a mouse. Perfectly reasonable advanced features that existed in 10.6.8 are no-where to be found in 10.7 Lion (bad) […]
To view the Postfix deferred queue: postqueue -p To view a specific email: postcat -q {Queue ID} To delete a specific email: postsuper -d {Queue ID} Example of viewing the deferred queue and deleting a message: # postqueue -p -Queue ID- –Size– —-Arrival Time—- -Sender/Recipient——- E15B9FC221 11627 Sun Jan 6 16:47:29 MAILER-DAEMON (connect to sight.mlorol.com[46.249.46.181]: […]
Do it locally:
1 |
git branch -d yourBranchName |
Deleted branch yourBranchName (was 340c10d). Do it remotely, and please note the : below! (replace origin with your repo, if different)
1 |
git push origin :yourBranchName |
To git.yourServer.com:/repos/yourProject.git – [deleted] yourBranchName
1 2 3 |
DELETE D FROM order_detail D INNER JOIN orders O ON D.orderid = O.id WHERE O.customerID = "$customerID" |
1 |
/usr/bin/find /my/dir -name "*.css" -a -not -name "*.min.*" -exec rm {} \; |
Using CGI.pm
1 2 3 4 5 6 |
$cookie = cookie( -name=>'ExampleCookieToDelete', -value=>'', -expires=>'-1d' ); print header(-cookie=>$cookie); |
Using jQuery and jquery.cookie.js
1 |
jQuery.cookie('ExampleCookieToDelete', null); |