Log in

No account? Create an account
Peeks, Pokes, and Pointers

> recent entries
> calendar
> friends
> other stuff
> profile

Tuesday, December 15th, 2009
4:27p - How to remove "extended attributes" from a manually restored Time Machine backup in OS X
This took me way too long to work out, so I'm dropping it here for future reference.

Time Machine does not create ACLs - Access Control Lists - in its backups. Instead it adds "extended attributes" to each file and folder, which is something different. If you restore these files by hand, by copying them straight onto your hard drive, the extended attributes are carried along and will prevent you from altering the files later.

To remove the attributes that Time Machine creates, these two commands will work:

find . -print0 | xargs -0 xattr -d com.apple.metadata:_kTimeMachineOldestSnapshot
find . -print0 | xargs -0 xattr -d com.apple.metadata:_kTimeMachineNewestSnapshot

Run them as root, and at the base of the tree you want to clear.

(1 comment |comment on this)

<< previous day [calendar] next day >>
> top of page