1
I ran the following commands:
cd /Users/user/
mkdir back_me_up
touch back_me_up/touched_file
tmutil startbackup --block
rm back_me_up/touched_file
tmutil restore /Volumes/BackupParition/MyMac/Latest/MainPartition/Users/user/* /Users/user/
And got:
/Users/user/Desktop: File exists (error 17)
/Users/user/Documents: File exists (error 17)
/Users/user/Downloads: File exists (error 17)
/Users/user/Library: File exists (error 17)
/Users/user/Movies: File exists (error 17)
/Users/user/Music: File exists (error 17)
/Users/user/Pictures: File exists (error 17)
/Users/user/Public: File exists (error 17)
/Users/user/back_me_up: File exists (error 17)
So back_me_up/touched_file
was not recovered.
Is there a way to recursively override existing files with the tmutil restore
command?