Understanding tar
I want to restore, from backup, my openoffice documents, icedove folders, korganizer data, and iceweasel bookmarks; and it is a real chore finding where squeeze stores these things. The greater problem though, is that ark can't handle absolute path names, and my understanding of tar is limited.
I tried doing a general extract of my old /home directory, into my new squeeze distro, using tar -xzpPvf (file name), - and this I learned to be a mistake - because the file structure has been modified in squeeze. What was once /home/user/....odt is now /home/user/Documents/.....odt. Things stopped working in squeeze after I did the extract. I know now to only extract specific 'safe' items.
I have read the man page on tar, but still do not see how to get past the absolute path names difference?
As I understand it, tar looks for the same data path in my present system, and then replaces (or not) the data, depending on the tar options sent.
For example, with the bookmarks, is there a command that would extract the archive data into a 'safe place', and then I could later place it where it needed to be?
Last edited by edhe1; 05-14-2011 at 03:45 PM.
|