Hi,
Hey Cheryl, thanks a bunch for posting that. I was just getting ready
to play around with it from the terminal. I was thinking about how to
do this earlier today. Again, thanks!
On Nov 11, 2007, at 2:10 PM, Cheryl Homiak wrote:
For those of us who like Terminal, it's very easy to get a file you
want from your Time Machine backup.
Start out by doing an ls command to the backup database on your
external drive. Remember that you can use tab completion so you
don't have to type out everything in the path. If you do ls with |
more on the end, you can see your list of backups in order; most
will have dates but there will be a Latest. So I deleted a text file
from my home directory, and then did:
cp /Volumes/EXTERNAL DISK/Backups.backupdb/mercyeverlasting/laatest/
Mac HD/Users/chomiak/myfile.txt .
with the dot (a period) meaning I wanted the file copied to the
directory where I was in Terminal. There was no need for even
entering a password and this worked instantaneously. The only thing
that was a little unexpected was that I had to put the slash on
Latest because it wasn't completed but then as soon as I did the M
and hit tab, Mac HD was completed. It wounds complicated, but if you
know your paths and use tab completion it's really very, very fast.
ls
--
Cheryl
"Where your treasure is, there will your heart be also."