Questions tagged [extended-attributes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
119 views

In Finder and Terminal — can not delete a folder, (Error = “Directory not empty”)

Anytime I've run up against this in the past, I was always able to figure it out, and usually via the command line. I'll list all the commands I tried so far, followed by other things I've tried below ...
2
votes
1answer
36 views

How to convert a file with extended attributes to AppleDouble format?

How can I convert a file, which has extended attributes, to AppleDouble format? I know how to convert from AppleDouble format using the Terminal utility dot_clean, but what utility can be used to ...
0
votes
0answers
148 views

Mac File System Tagging questions regarding external USB drive, SMB shares and indexing

(1) I googled mac tagging. I know the tagging was stored in HFS+ file system's extended attribute. But when I create tags in SMB shares (which are ext4 and ntfs on the network), I find out the tags ...
5
votes
1answer
1k views

Extended attributes reappear when reconnecting external drive

Some files on my external drive appeared grey out. Hence, I removed all the extended attributes using xattr -rc command which successfully does the trick and all my files appears normal. However, ...
2
votes
0answers
33 views

How to ensure that you retrieve all permission attributes (including ACLs) of a file or folder from the shell?

I would like to retrieve ALL permissions (including ACLs) and attributes of files and folders (both) from a folder and its accompanying files on a drive. Most frequently one sees ls -le being used to ...
1
vote
2answers
893 views

How can I give a file the com.apple.quarantine attribute on mac

I have used xattr -d com.apple.quarantine /Users/username/Desktop/app_name.app to remove the attribute but I don't know how to give the attribute again. Could you please help me?
6
votes
1answer
344 views

Is there a way to get Spotlight to search for xattr?

I like to tag files with xattr, e.g. xattr -w user.foo bar myfile. Is there a way that I can then use Spotlight to search for a given xattr key (or key-value pair)? For example, if I put foo or foo:...
3
votes
2answers
751 views

How to verify if an extended attribute exist?

When running xattr -d com.apple.quarantine /Applications/XXX.app sometimes I get xattr: /Applications/XXX.app: No such xattr: com.apple.quarantine How does one verify if any named attribute ...
2
votes
2answers
90 views

Unable to enter directories in Finder after moving directories to NAS

I have a NAS, which I use for storing my old photos. When moving the remainder of my 2016 photos, the following problem occurred, but without any error message during the move operation. The move ...
3
votes
0answers
50 views

Is there version control software with commit messages that preserves macOS tags?

As I mentioned in my answer on tags best practices, the distributed version control software (VCS) Git does not preserve macOS tags (or other extended file attributes). Is there version control ...
1
vote
1answer
320 views

Error messages in rsync

When I run rsync -avz --exclude-from=exc ~/ /Volumes/Backup/home/ I get the message sending incremental file list ./ .DS_Store ...<snip>... (lots of files).... End of list of files sent 72,...
1
vote
1answer
116 views

Quarantined root directory on primary drive?

I've been experiencing performance issues on my mid-2011 mac mini (running El Cap) for a while now -- beachballs, spotlight issues, general slowness -- and have been so far unable to discern the ...
0
votes
0answers
62 views

Difference in OS X file names due to extended attribute or resource fork?

I've done a diff on two file names (via Terminal), whose textual content on visual inspection appear to be the same file. diff however reports the two as differing. The only difference I could ...
5
votes
1answer
5k views

How to set (restore) the com.apple.quarantine attribute?

There are questions with good answers that explain how to remove the com.apple.quarantine extended attribute but I was wondering how does one restore / set it back again? I tried this: xattr -w com....
0
votes
1answer
551 views

What does these extended attributes mean and where are they documented?

For some reason a directory I had (Vundle.vim) got randomly copied to another directory (got copied from ~/.vim to ~/dotfiles/.vim with strange permissions and what looks like no contents. Anyways, ...
0
votes
1answer
319 views

Recursive set creation date of pictures and videos based on filename

I have a folder structure of thousands of pictures and videos. They are all exported and therefore have the same creation date, time. I would like to set the creation date for all the files according ...
0
votes
1answer
801 views

OSXFUSE, BindFS and HFS+ extended file attributes

I use BindFS with OSXFUSE to mount some folders on an external drive on mount points within my user home folder. This is a sample line from my fstab: /Volumes/Content/Pictures /Users/Me/...
1
vote
1answer
705 views

Will HFS+ extended attributes be lost on FreeNAS?

I have FreeNAS server partially set up on an HP Microserver, but just realized that I may lose all my extended attribute metadata on the files that come from my Macs (which is what most of my ...
0
votes
1answer
81 views

Extracting WhereFroms Data to a File

I see a number of posts on how to delete the WhereFrom extended attributes data, but I would like to do the opposite and extract the information into a file. I download Creative Commons photos from ...
6
votes
1answer
6k views

Files Greyed out in Finder - Potential extended attributes issue?

I am having a rather strange issue with some image files I have on a local file server. I have spent a while trying to figure it out, to no avail. Hopefully someone on here can offer some assistance. ...
0
votes
1answer
323 views

Why files created by Kaleidoscope App are in quarantine?

I like to use Kaleidoscope (v 2.1.0 - build 133.01 under Mac OS X 10.8.5) to compare 2 directories. But, when I create files by copying them from a directory to another using ...
10
votes
2answers
1k views

Confusion on Metadata | Named Forks | Extended Attributes | Resource Fork — HFS+

I think there is some general confusion on the relation between all four of these items scattered throughout the web. I wanted to get this straightened out. Are named forks the same as extended ...