View Single Post
Old 7th July 2008, 04:57 PM   #1 (permalink)
lateuk
Registered User
 
Join Date: Oct 2007
Posts: 16
Forum upgrade - Linux commands help?

Hello,
I have a forum running vbulletin on one of my sites host here. Occasionally i need to do upgrades to the forum software, which intails uploading the new version and overwriting all files in the forum directory and it's sub directories.

What i was wondering (to reduce downtime) is could i upload the files into a different directory and use a command from the command line (using SSH) to copy the directory and all its content, overwriting all files in the old directory?

If so what command would i use?

The forum directory is "forum" and the uploaded files are in "forumnew" i need to copy "forumnew" over "forum" replacing all files, but keeping any files which are not in the "forumnew" directory. Also there are sub-directories in both.

Thanks
lateuk is offline   Reply With Quote