Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to copy only the dot files and folders from my home to an other directory. I need to regress the directories to get all the content. I can't seem to create a cp command that will copy only the dot files and directories. The one I've narrowed down to still copies every directory and file from the source. Any suggestions? The directory /BackUp/Home exists and has the correct privileges. Here's my current command:
Gave your idea a try and still didn't get what I wanted. All the dot files/directories were copied and also all the non-dot ones as well. That's what I wanted to try and stop.
I am using Kubuntu 6.10 and trying to do backups to DVD+RW. I have tried KDar and K3B to back up this stuff and it doesn't work for me. KDar's big files (even when restricted to 4Gb) won't write correctly to DVD+RW using K3B. And if I try tar, when I try to load a DVD with a single large tar file it won't mount unless I go into a konsole and force it to mount. It shows up as blank media and gives me a malformed URL error.
I am trying to build a Bash script to selectively copy to directories that I can burn to DVD+RW with K3B as a series of uncompressed directories/files. For this step all I want is the dot directories and files from my home. I could copy everything and delete the stuff I don't want, but that is not a correct solution. I guess I'll just keep poking around for now and see if I can get an automated solution.
I am trying to copy only the dot files and folders from my home to an other directory. I need to regress the directories to get all the content. I can't seem to create a cp command that will copy only the dot files and directories. The one I've narrowed down to still copies every directory and file from the source. Any suggestions? The directory /BackUp/Home exists and has the correct privileges. Here's my current command:
cp -pR /home/myid/.* /BackUp/Home/
TIA
the reason it doesn't work is that the shell expands .* to also include . (the current directory) and .. (the parent directory) and cp -r causes it to recursively copy those directories too
I must be having a big time K3B issue. I used multicd and created 6 images. Each is right around 4Gb so I'm back in the soup again. K3B will not write them at all. Fortunately I'm using RW media so I'm not making coasters yet. This is becoming a real pain, but it might all be down to a K3B issue. I do have udf support set on. K3B appears to write a random amount of data to the device and then does a very long lead out write and finishes with an indication that it is properly done. I'll go talk to the K3B area and see if I find any advice there. Thanks guys.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.