1

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, when I ran

ls -l Vundle.vim

I got

drw-r--r--@ 11 root  staff  374 Aug 14 20:22 Vundle.vim

and when I ran

xattr -l Vundle.vim/

this is what I got

xattr -l Vundle.vim/
com.apple.backupdelta.creationMarker: yes
com.apple.metadata:_kTimeMachineNewestSnapshot:
00000000  62 70 6C 69 73 74 30 30 33 41 BB 7E B4 DA 00 00  |bplist003A.~....|
00000010  00 08 00 00 00 00 00 00 01 01 00 00 00 00 00 00  |................|
00000020  00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
00000030  00 11                                            |..|
00000032
com.apple.metadata:_kTimeMachineOldestSnapshot:
00000000  62 70 6C 69 73 74 30 30 33 41 BB 7E 82 12 00 00  |bplist003A.~....|
00000010  00 08 00 00 00 00 00 00 01 01 00 00 00 00 00 00  |................|
00000020  00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
00000030  00 11                                            |..|
00000032
inodeForCreationOriginal: 10315546

Can anybody tell me what this output means or where I can find that information (some sort of documentation)?

2
  • Each extended attribute is a name-value pair. The middle two attributes values are stored in binary xml format. It seems quite obvious that all these attributes are Time Machine related.
    – fd0
    Aug 15, 2015 at 18:21
  • @fd0's comment is as close as you're likely to get to an answer. There are two issues I think: One is that Apple's file system is proprietary; Two is that Apple's documentation is not very good - non-existent in some cases. Apple uses xattr extensively - a lot of data is stored for purposes that can only be guessed.
    – Seamus
    Jul 30 at 0:11

1 Answer 1

0

All commandline apps have an associated man page, that explain input and output, invoked like this:

man [command]

Where [command] is the command you want help on. So to find info on ls:

man ls

Also Mac OS is based on BSD unix and not completely different from Linux. So googling for the man page on almost any (BSD/Linux) unix command will also lead you to (quite possibly) more info that you can possibly digest...

1
  • 1
    I'm looking for an explanation for the xattr output. I've already looked at the man page for xattr, it doesn't explain the output.
    – Mattias
    Aug 15, 2015 at 14:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .