this post was submitted on 31 Dec 2023
7 points (76.9% liked)
Apple
17482 readers
64 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:
- No NSFW Content
- No Hate Speech or Personal Attacks
- No Ads / Spamming
Self promotion is only allowed in the pinned monthly thread
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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It’s hard for anyone to help if you don’t give details, but I can only guess …..
The man page describes
-r
startingSo, did you specify a directory?
Yes I wrote
Then remove the ”r” in ”-cr”? The .app is like a special zip file or something if I remember correctly. Not a directory
.app files are directories
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?