2

I want to rename the my home directory (/Users/thisone), using this technique.

However, I just started using Time Machine, and with 200 GB of data in my home directory; what will happen?

Will the entire 200 GB have to be backed up again, because Time Machine doesn't understand that the data is the same since the home folder name changed?

If so, as a panic resort, can I tamper with the Time Machine backup, renaming the home folder there too? (I have only a single backup so far).

If so, how do I do this? I seem to remember that even with sudo, OS X objects to any change in the Time Machine folder.

2

I just tried enabling Time Machine on a VM, saving one snapshot, renaming the home directory, and saving another snapshot, and Time Machine did save a second copy of the whole home directory.

When I tried it again but used bypass to rename the home directory on the Time Machine volume before saving another snapshot, Time Machine did not save a second copy of the whole home directory.

So try running a command like this after you rename the home directory:

for f in /Volumes/*/Backups.backupdb/*/*/*/Users/oldname; do sudo /System/Library/Extensions/TMSafetyNet.kext/Helpers/bypass mv "$f" "${f%/*}/newname"; done

  • The bypass utility brilliantly allows changes to the backup, but Time Machine still sets up to copy the full 200 GB, even though I even changed UNIX permissions to match the new directory. Further ideas? – forthrin Sep 19 '13 at 11:35
  • On a whim, I tried bypass ... rsync -aP between the hard drive and the backup, which did a minimal sync (what I expected Time Machine to do), but when I tried Time Machine again, it insists on copying 200 GB. – forthrin Sep 19 '13 at 12:13

You must log in to answer this question.

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