Project & quot; xxx & quot; has been used by OS X, and a solution that cannot be opened appears, xxxos

Source: Internet
Author: User

The project "xxx" has been used by OS X and cannot be opened. xxxos
Problem: The project xxx has been used by OS X and cannot be opened.

My computer is macOS. Recently I downloaded some jpg and png images to the hard disk (Seagate hard disk) and switched them to another computer, the results show that the jpg and png images are gray and cannot be opened.

Solution:

Because these files are added with extended attributes by the system, we only need to delete these attributes,
The specific usage is:

$ Cd your file directory

View the attributes of all files in the current directory

$ Ls-l


Note that the last character in the red box is @, so we need to delete it.

Deletes the extended attributes of all png files in the current directory.

$ Xattr-c *. png

Deletes the extended attributes of all jpg files in the current directory.

$ Xattr-c *. jpg

We have deleted all of them now,

Now you can go to your hard disk to view these images. They can all be turned on and there is no gray state.

If you are not using jpg or png files, or video or audio files, use the same method.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.