Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
Basic linux question - copying
  • From: Nick Selby <php@xxxxxxxxxxxxx>
  • Date: Wed, 24 Apr 2002 11:29:45 +0200
  • Message-id: <>
I have a directory under the /html root of my web server, and I'd like to simultaneously copy recursively this directory and rename it to the same /html root.

I understand that I can first create a new directory, test1, and then cd into the directory I want to copy recursively and do

cp -R * ../test1

but is there an easier way? Someting like

copy -R source-folder-name new-folder-name


Thanks in advance,

< Previous Next >
Follow Ups