Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: backup of Konqueror bookmarks..

  • Subject: Re: backup of Konqueror bookmarks..
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Tue, 19 Apr 2005 05:21:11 +0100
  • Newsgroups: comp.windows.x.kde
  • References: <3cha8lF6nsl3dU1@individual.net>
  • User-agent: KNode/0.7.2
kalev- wrote:

> I was just curious about the bookmark file for backup/restore purposes...
> 
> If I explicity save bookmarks, (edit bookmarks etc...) it creates two
> files:
> 
> somefilename.xml
> bookmarks.tbcache  ??
> 
> In actuality my real question is: if I have a shellscript/cron job to only
> grab my bookmarks, what file and how should I backup "the right way"?
> 
> This is (unfortunately) on KDE 3.1.1  -- but I'd like for it working on
> 3.3 and 3.4 as well..

Running KDE 3.1 here as well....

Here is my script, inspired by someone else in this NG or a different NG:


script
====
#!/bin/bash

BACKUP_DIRS=/home/roy/Mail/inbox
BACKUP_DIRS_OLD=/home/roy/Mail/Old
BACKUP_FILE=/home/roy/.kde/share/config/kmailrc
BACKUP_BOOK=/home/roy/.kde/share/apps/konqueror/bookmarks.xml
BACKUP_BOOK2=/home/roy/.mozilla/firefox/o5jcmbap.default/bookmarks.html

rm /home/server2/transfer/roy/mailbackup/mail.tar.gz
rm /home/server2/transfer/roy/mailbackup/mail_old.tar.gz
rm /home/server2/transfer/roy/mailbackup/kmailrc.tar.gz
rm /home/server2/transfer/roy/mailbackup/bookmark.tar.gz
rm /home/server2/transfer/roy/mailbackup/bookmarkm.tar.gz

tar -cvzf /home/server2/transfer/roy/mailbackup/mail.tar.gz $BACKUP_DIRS
tar -cvzf /home/server2/transfer/roy/mailbackup/mail_old.tar.gz
$BACKUP_DIRS_OLD
tar -cvzf /home/server2/transfer/roy/mailbackup/kmailrc.tar.gz $BACKUP_FILE
tar -cvzf /home/server2/transfer/roy/mailbackup/bookmark.tar.gz $BACKUP_BOOK
tar -cvzf /home/server2/transfer/roy/mailbackup/bookmarkm.tar.gz
$BACKUP_BOOK2
====

cron
===
50 20 * * * /home/yourusername/script
===

Hope it helps,

Roy

-- 
Roy S. Schestowitz
http://Schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index