Skip to content

Instantly share code, notes, and snippets.

@morganp
Created August 7, 2017 08:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morganp/d8268b0a4260069973ce5a4625bef2cc to your computer and use it in GitHub Desktop.
Save morganp/d8268b0a4260069973ce5a4625bef2cc to your computer and use it in GitHub Desktop.
Fixing OS X local permissions for successful back up and restore.

Remove local .DS_Store

find . -name '.DS_Store' -type f -delete

Remove file lock permissions (Perforce)

sudo chflags -R nouchg ~/Documents

Code plan has not restored correct user.

sudo chown -R `whoami` ~/Documents

Now Compare folders

Run folder Diff

diff -rq ~/Documents  /Volumes/serenity_ext/Backup/hostname.home/Users/morgan/Latest/Documents/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment