You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

catworld

Beginner

  • "catworld" started this thread

Posts: 9

Location: Elmira, New York

Occupation: husband

  • Send private message

1

Monday, April 9th 2007, 8:54pm

scripted address book backup

I had an interesting question thrown at me today. A friend who I've moved into Linux (Mandriva 2007) wants to automate a backup of his address book in .ldif format.

I already set him up with rsync over ssh to keep a regularly updated (and automatic) copy on another machine, which then daily copies everything again on an external USB HD. So he's backed to the hilt.

But he wants to know if there is a script that mimics the address book "export" function, and such that it does so in the .ldif format. (which he says eases syncing with his ipod)

Can this be done? Or am I right... he's going to have to open up the book and click "export" and so on?

Searched the forums and Googled the idea already...

Thanks,

cat
root@brain# cat -A world | grep "42"

leftbas

Trainee

Posts: 58

Location: Los Angeles, Ca, USA

Occupation: Senior Desktop Support Analyst

  • Send private message

2

Tuesday, April 17th 2007, 6:57pm

If your rsync is copying the file and leaving the format and extension intact, tell him to relax. If anything were to happen to his address book, he should be able to import the copy and be back in action in no time.
In retrospect, everything is funny.

-- Unknown