LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-19-2007, 04:55 PM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
K3b Recursive Copy


OK, Slackware 12, no xcdrecord, so use K3b to do a back up. Hm, nice back up, no content in directories! Arrggh! Read manual, not worth a hoot, not a word about recursive copy. Arrgghh! Look at all the options, fiddle around, give up.

Is there some magical mystical setting somewhere that will cause K3b to do a recursive copy of a directory structure?
 
Old 08-20-2007, 06:43 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,937

Rep: Reputation: 128Reputation: 128
Could you give a better explanation of what you are trying to do?
 
Old 08-20-2007, 02:01 PM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
OK, I'm trying to recursively burn the content of a directory and subdirectories; let's say my user account is /home/trona and I want to make a back up of the entire tree (without selecting every single file manually), including all subdirectories and their content. I can't figure out how to tell K3b to do that -- it creates the directories, but they're empty.

I figure there's got to be a way, but darned if I can find how to do it.

Thanks.
 
Old 08-20-2007, 02:58 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,390

Rep: Reputation: Disabled
That's strange - normally k3b will copy all subdirs recursively. I'm not sure about hidden files though, but I think there's a switch for that.
 
Old 08-20-2007, 04:08 PM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
I finally figured out that I wasn't doing it right (big surprise there).

Seems you need to "Add Hidden Files" and "Add Link to Project" so the utility will actually add directories and files.

So, all is well that ends.

Thanks for the responses.
 
Old 08-20-2007, 09:33 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Gentoo (all servers at work are openSUSE)
Posts: 6,937

Rep: Reputation: 128Reputation: 128
Glad you figured that out, and thanks for posting the solution. Now someone else searching who finds your thread will know what to do.

There might be other ways to do this more efficiently than K3B, depending upon your desired output. Are you burning these to a CD/DVD, or just copying them to another location for backup?
 
Old 08-21-2007, 07:43 AM   #7
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Original Poster
Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
Quote:
There might be other ways to do this more efficiently than K3B, depending upon your desired output. Are you burning these to a CD/DVD, or just copying them to another location for backup?
I'm burning to a CD-ROM; I also copy (with scp -rp ...) to another machine, but want a periodic CD-ROM "just in case." I've a Dell Dimension 8400 that, so far, has gone though two SATA drives (one Seagate, one Maxtor) that have up and decided to quit after not too long in operation. So, rather than having to rebuild from complete scratch again...

I do not back up the distribution or anything else that I have or can download source code for; I do back up Slackware patches (/usr/local/patches) and any packages I've gotten from, say, Robby Workman's site (thank you once again, Robby) or that I've built with checkinstall just because, well, it's easier that downloading OpenOffice. I back up some of the stuff in /etc that I've had to configure, I back up user directories (because they contain the actual work done by folk, especially me). The one that really concerns me (simply because I have not actually figured out how to do it) is VMWare where I have an XP installation and, brother and sisters, I do not want to ever reinstall XP on anything again during this lifetime (lordy, there are far too many "updates" to get through for something I only use when I absolutely have no choice) -- what a pain. I just haven't actually tried to restore VMWare from a snapshot, although I do periodically (like after Patch Tuesdays) burn those to a CD-ROM.

It would probably be better if I did a "level 0," followed by incremental back ups, but I don't have large enough media to do so (it's a CD-ROM, not a DVD... yet) as I have done for years with find-tar or find-cpio but, for now, what I'm doing will do it.

Last edited by tronayne; 08-21-2007 at 07:45 AM.
 
  


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
Recursive Copy / Create Luvz2Fly Programming 5 11-18-2006 04:52 PM
can't copy cd using k3b Quercus ruber Linux - General 10 01-18-2006 05:31 AM
Recursive Copy of certain files Whiskerz Linux - Newbie 5 12-18-2005 07:06 PM
Recursive Copy fizgig10 Linux - Newbie 1 07-16-2005 11:58 PM
How to do recursive file copy of directory for specific files? Arodef Linux - Newbie 4 06-29-2004 05:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:24 PM.

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