- Code: Select all
xattr -d com.apple.quarantine "$1"
It wasn't giving me issues before, but I was wondering if anyone has any suggestions.
Thanks.
Moderator: Mr_Noodle
xattr -d com.apple.quarantine "$1"
2009-12-21 17:55:51.584 hazelfolderwatch[719] selected_files_20091217-201549.nzb: Rule nzb matched.
xattr: /Users/echernuka/Downloads/selected_files_20091217-201549.nzb: No such xattr: com.apple.quarantine
2009-12-21 17:55:51.651 hazelfolderwatch[719] [Error] Shell script failed: Error processing shell script on file /Users/echernuka/Downloads/selected_files_20091217-201549.nzb
xattr -d com.apple.quarantine "$1"
exit 0
#!/bin/sh
attr="com.apple.quarantine"
output=`xattr "$1" | grep "$attr"`
if [ -n "$output" ]; then
xattr -d "$attr" "$1"
fi