Time Machine and file attributes in macOS

In case you want to copy files from Time Machine directory (directly) you will face issues related to files access. You need to do few things.

Let’s say you have directory “backup_from_TM“. After copying it to you $HOME directory you have to

# remove Time Machine's attributes

sudo xattr -r -d com.apple.quarantine ./backup_from_TM
sudo xattr -r -d com.apple.metadata:_kTimeMachineNewestSnapshot ./backup_from_TM
sudo xattr -r -d com.apple.metadata:_kTimeMachineOldestSnapshot ./backup_from_TM

# remove ACLs

chmod -R -N ./backup_from_TM

# you can always double check what are the ACLs
# by listing them using ls -le command

ls -le ./backup_from_TM

Leave a comment

Your comment