Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-24-2003, 10:10 AM   #1
Registered: Feb 2002
Location: London
Distribution: Fedora 2, Red Hat 8.0
Posts: 46

Rep: Reputation: 15
Backing up KMail files

I wonder if many of you use KMail on KDE 3.0. It uses a different format of saving mail in your ~/Mail/inbox/ directory. All the mail files are individually saved in files with names like "341900434FJ:S,2"

Because of a terrible failure in the boot-up process, I need to save all my mail files onto floppy (the only backup media I have available to me. ) However, the "cp" command won't work, possibly because of the commas in the filenames?

I tried tarring the entire directory but it complained because my filesystem was read-only at the time and I don't know if tar creates any temp files before moving the archive to the destination. Does anyone have any ideas how I can move my files to floppy before reinstalling my corrupted system?

Old 03-02-2003, 01:16 AM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Have you tried quoting the filenames? ie:
cp "341900434FJ:S,2" /somewhere/else

I've moved my mail files from partition to partition and not had problems.
Old 03-02-2003, 02:58 AM   #3
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,195

Rep: Reputation: 53
tar clfv - . |( cd /floppy; tar xpf - --same-owner)
to copy them or
tar clfvz - . > /floppy/filename.tgz
from in mail directory

or tar clfvz - /path/to/kmail/directory/ > /pathtofloppy/mail.tgz


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
backing up files remotely using a script depam Linux - Software 1 10-19-2005 12:59 AM
Backing up kMail emails+config files ? OneManArmy Linux - Newbie 1 03-31-2005 09:26 AM
Backing up with PAR files tw001_tw Slackware 2 07-09-2004 11:43 AM
Backing up KMail Kristijan Linux - Software 2 01-21-2004 02:17 AM
backing up files on a laptop trusouthrnplaya Linux - General 3 09-03-2001 01:46 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration