ianw1974 Posted May 9, 2005 Report Share Posted May 9, 2005 (edited) I'm sure this will be a real easy one! Basically, I downloaded Mozilla Thunderbird and extracted to: /home/ian/documents/downloads/mozilla/thunderbird What I want to do is move it to the following location: /usr/local/mozilla/thunderbird When I use Konqueror, I don't have the rights, because it needs to be root access. I have tried the following command: cp /home/ian/documents/downloads/mozilla/thunderbird/*.* /usr/local/mozilla/thunderbird when running as superuser. But it only seems to copy the files. How can I get it to copy all the subdirectories within thunderbird also. Is there an alternative command? Edited May 9, 2005 by ianw1974 Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted May 9, 2005 Report Share Posted May 9, 2005 # cp -r /home/ian/documents/downloads/mozilla/thunderbird usr/local/mozilla/ should do it. or use -R instead of -r. you can check the manpage for the recursive option. ciao! Quote Link to comment Share on other sites More sharing options...
idud Posted May 9, 2005 Report Share Posted May 9, 2005 cp -avf /home/ian/documents/downloads/mozilla/thunderbird/ /usr/local/mozilla/ You will end up with /usr/local/mozilla/thunderbird/ Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 9, 2005 Author Report Share Posted May 9, 2005 Cool thanks for that. I have managed to do it. Many thanks. My initial problem I think was the *.* I was using at the end, because this was limiting it to files. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.