Get the App
SLTechnology News&Howtos  ›  Servers  › 

The project is already in use by macOS and cannot be opened

Shulou Source: shulou.com Published: 2022-06-03 09:10:21 12月03日 Update

Create a script / usr/local/bin/fix-xattr with the following contents:

#! / bin/bashfor I in. / * do xattr-d com.apple.FinderInfo "$I" & & echo "processing: $I" done

Add executable permissions:

Chmod + x / usr/local/bin/fix-xattr

Then through the terminal, enter the directory where the files that cannot be opened are located, execute / usr/local/bin/fix-xattr, and you can repair all the files that cannot be opened.

If there is a problem with the repaired file, it will be displayed:

Processing:. / Navicat Premium.app

Otherwise:

Xattr:. / Setup Screen Capturer Recorder v0.12.10.exe: No such xattr: com.apple.FinderInfo

Tags: Files processing content location permissions directories terminals scripts problems projects Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Linux Shulou Technology Huawei NVidia