Restoring dot files from Time Machine

artov

Registered
I installed gwTeX to my Mac. Since it goes to /usr/local/gwTeX directory and the programs are at bin/i386-apple-darwin-current subdirectory, the PATH environment variable is sho long I thought to store it to my .zprofile file (I use zsh command shell). However, I managed to replace the file content with the PATH-value, instead of adding it to the end.

No problem, I thought: I have new backups. I started Time Machine, searched my home directory and then ... where is .zprofile?

It seems no files with "." as their first character is shown in the Time Machine dialog. So, how can I restore the file?
 
Are you versed in using the command line (Terminal)? If so, you can manually locate the file via the terminal on your Time Machine backup drive and restore it with a simple cp command.
 
ElDiabloConCaCa: Thank you, I did not know that Time Machine stores plain files, I assumed it uses some database or similar.
 
Back
Top