Hi Constant, On Monday 22 May 2006 08:02, C. Brouerius van Nidek wrote:
You talk about relatively static data (such as??)
private/public keys (.gnupg), IM client auto-login settings (.gaim), Skype account settings, KMail identities and accounts (.kde/share/config)... I'm sure also kwallet if I used it :-) etc.
and then you copy cp -rp which I had to look up in the man page. recursive and preserve (ownership, timestamp). You preserve ownership? As you have started the systems fresh and most probably as the first user for the newest version, the files have the same ownership (=1000) or do I make a mistake here? What is recursive and why do you use it.
... recursion (-r) includes subdirectories of the directory I'm copying and, yes, you're correct... preserve ownership (-p) works the same across all three user directories regardless of the label (user name) as the first UID in each is 1000.
For the moment I have 9.3 satisfactory working and 10.0 (perhaps 10.1 next week) a work in progress. As I worked on 10.0 and had fetchmail working I had to copy the newest mail to my kmail 9.3 to keep that complete. Symlinked data for Kmail Skype Firefox and Konquerer would be ideal to quietly work on the final setup of the newest version.
Your setup and preference may be different. I keep one gzipped tar as a 'backup backup' on one disk and an rsync'd mirror on another. Both 'snapshots' are taken at the same time (nightly script.) If my current user directory gets trashed I can immediately boot to an alternate and modify two symlinks only... /Documents and /.kde/share/apps/kmail ...to point to the mirrored data while I work on repairing the damage.
Symlinked data for Kmail Skype Firefox and Konquerer would be ideal to quietly work on the final setup of the newest version. I could do that with midnight commander but what is the command line to use?
For my KMail (Kontact) data... not config, which is duplicated... it looks like this: ln -s /home/carl10/.kde/share/apps/kmail /home/carl93/.kde/share/apps/kmail and ln -s /home/carl10/.kde/share/apps/kmail /home/carl10-1/.kde/share/apps/kmail Note: I usually do this as root to have the links respected globally. You can cd to the directory where you'd like to create the link then: 'ln -s /path/source target' *or* create the symlink from anywhere by using full paths for both 'source' and 'target': 'ln -s /path/source /path2/target' Make some temporary directories and use 'touch' to create empty files. Then practice a bit creating links to them before working on live data. :-) Something like this: mkdir test1 mkdir test2 cd test1 touch file1 cd ../test2 ln -s /path/test1/file1 file1 hth & regards, Carl