| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Linux Folder Copy command?|
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?
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'
mv MOVEs the source files to the specified destination.
cp COPYs the source files to the specified destination.
For more information, try:
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