7
submitted 10 months ago* (last edited 10 months ago) by nave@lemmy.ca to c/apple_enthusiast@lemmy.world

Title please help

top 9 comments
sorted by: hot top controversial new old
[-] Ransack@lemmy.dbzer0.com 3 points 10 months ago

What's the full command you are using or what are you trying to do?

[-] nave@lemmy.ca 1 points 10 months ago

The full command was

xattr -cr /Applications/RyuSAK.app

[-] Ransack@lemmy.dbzer0.com 1 points 10 months ago

Try

xattr -rc

[-] AA5B@lemmy.world 2 points 10 months ago

It’s hard for anyone to help if you don’t give details, but I can only guess …..

The man page describes -r starting

If a file argument is a directory …

So, did you specify a directory?

[-] nave@lemmy.ca 2 points 10 months ago

Yes I wrote

xattr -cr /Applications/RyuSAK.app

[-] Snickeboa@lemmy.world -3 points 10 months ago

Then remove the ”r” in ”-cr”? The .app is like a special zip file or something if I remember correctly. Not a directory

[-] nave@lemmy.ca 4 points 10 months ago* (last edited 10 months ago)

.app files are directories

[-] chiisana@lemmy.chiisana.net 0 points 10 months ago

Similar to what the other user mentioned, but slightly different … macOS always had special treatment for .app directories, sometimes giving it special treatments as if it is a file instead of a directory. Does running without the -r bit achieve what you’d want, or you are certain there are files deeper within the directory structure that contains files with extended attributes that you’d want to remove? If there’s specific files inside the structure, are you able to target them individually?

[-] SpeakerToLampposts@lemmy.world 1 points 10 months ago

Are you using the standard xattr command that's built into macOS? IIRC there's another program out there by the same name with completely different syntax. Try running type xattr; it should say something like "xattr is /usr/bin/xattr" if you're using the standard one.

this post was submitted on 31 Dec 2023
7 points (76.9% liked)

Apple

17421 readers
110 users here now

Welcome

to the largest Apple community on Lemmy. This is the place where we talk about everything Apple, from iOS to the exciting upcoming Apple Vision Pro. Feel free to join the discussion!

Rules:
  1. No NSFW Content
  2. No Hate Speech or Personal Attacks
  3. No Ads / Spamming
    Self promotion is only allowed in the pinned monthly thread

Lemmy Code of Conduct

Communities of Interest:

Apple Hardware
Apple TV
Apple Watch
iPad
iPhone
Mac
Vintage Apple

Apple Software
iOS
iPadOS
macOS
tvOS
watchOS
Shortcuts
Xcode

Community banner courtesy of u/Antsomnia.

founded 1 year ago
MODERATORS