24 Apr
2002
24 Apr
'02
10:00
On Wed, Apr 24, 2002 at 11:29:45AM +0200, php@nickselby.com wrote:
Hi, 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
cp -R can copy directories like this. However, you might like to use cp -a instead, as it preserves symbolic links and permissions. -- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England