| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Linux Folder Copy command?|
| 2:41 pm on Apr 15, 2006 (gmt 0)|
I have a folder in my Linux hosting account (I have ssh connection to the server) same as
I need to copy this to
But I already have the old version files under the \public_html\files folder.
Can you please tell me the command in Linux to do this task?
| 3:01 pm on Apr 15, 2006 (gmt 0)|
You can use 'mv \newversion\files \public_html\files'
This will copy all the files from the source directory to the destination directory. If you wanted to copy just one file from one directory to another, you could use 'cp'
| 3:38 pm on Apr 15, 2006 (gmt 0)|
mv MOVEs the source files to the specified destination.
cp COPYs the source files to the specified destination.
For more information, try:
| 11:24 pm on Apr 27, 2006 (gmt 0)|
Matt's idea is best (learn all you can!) ...
In the meantime:
cp -r /original/dir /copied/dir
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved