0

I downloaded a software in tar.gz form.
It is built from a bin folder and lib folder.

It is blocked from running since files are from the Internet.
I wanted to make an exception for the program yet there are many binary files.
On the Internet I found how to add exceptions only to .app files.

Is there a way to add exceptions for all files in a folder and sub folders?
Maybe by a script?

5
  • 1
    What happens if you delete the quarantine attribute from these "internet" files?
    – benwiggy
    Commented Jul 8, 2023 at 9:08
  • What's the software? [I'm just surprised at anyone distributing Mac software as .gz]
    – Tetsujin
    Commented Jul 8, 2023 at 10:01
  • @Tetsujin, julialang.org/downloads. If you can download the Apple in tar.gz and make the binary work, that will be perfect. Commented Jul 8, 2023 at 18:37
  • @GeorgeIrwin - it would have been a whole lot easier to just download the dmg with the fully-built app inside it. i.sstatic.net/GjDNs.png
    – Tetsujin
    Commented Jul 8, 2023 at 18:47
  • @Tetsujin, Indeed. But in my case there are reasons to work with the tar.gz. Do you have an idea how to make it work? Commented Jul 8, 2023 at 19:28

1 Answer 1

1

Remove the quarantine attribute from all files in a folder:

xattr -c -r /path/to/folder 
2
  • I searched and saw an answer with -r -d which didn't work. What's the difference in this? Commented Jul 8, 2023 at 18:38
  • OK, I looked at ss64.com/osx/xattr.html. -c means remove all attributes. I will try this. Commented Jul 8, 2023 at 20:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .