Kmail

Esben Mose Hansen esben at mosehansen.dk
Sun May 9 17:07:00 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 09 May 2004 02:57, John wrote:

[...]
>
> Come on you guys at Kmail. A dump all and reload all shouldn't be to
> difficult to add even if it's a separate utility.

How about this shell script?

backup_kmail_data.sh

#/usr/bin/bash
# Go to where KDE apps store stuff
cd ~/.kde/share/apps
# Tar does not store empty directories (I think), so put the 
# traditional .keep in the directory
find . -empty -type d -exec touch {}/.keep \;
# Store all data.
tar -cvpjf ~/kmail_backup.tar.bz2 kmail

AND

restore_kmail_data.sh

#/usr/bin/bash
# Go to where KDE apps store stuff
# Restore all data.
tar -cvjpf ~/kmail_backup.tar.bz2

You might need to restore the proper owner if the uid on the new installation 
changes. Or you could just drop the p above and hope.

All this was determine by 2 minutes in man :-P

- -- 
regards, Esben

Homepage: http://www.mosehansen.dk
Signature fingerprint at http://www.mosehansen.dk/about
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAnlcmrfnftt13wXIRAo0WAJ9LIMfkQ2B37ax42BmOGtxsWkpaaACZASVH
fPAmsZ0ckspOJ2Y1kQEves4=
=k87Y
-----END PGP SIGNATURE-----
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list