LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-24-2003, 11:10 AM   #1
artemis
Member
 
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?

jin
 
Old 03-02-2003, 02:16 AM   #2
bulliver
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, 03:58 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
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
 
  


Reply


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 01:59 AM
Backing up kMail emails+config files ? OneManArmy Linux - Newbie 1 03-31-2005 10:26 AM
Backing up with PAR files tw001_tw Slackware 2 07-09-2004 12:43 PM
Backing up KMail Kristijan Linux - Software 2 01-21-2004 03:17 AM
backing up files on a laptop trusouthrnplaya Linux - General 3 09-03-2001 02:46 PM


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

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