copy and replace files using linux command

CLOSED
Bids
31
Avg Bid (GBP)
£28
Project Budget (GBP)
£20 - £250

Project Description:
Hi, we use linux to send an update to an online unit we have to write files from one folder to another

The present script is

rm -rf /var/www/captive/* REMOVE THIS LINE?
cp -f ./captive/* /var/www/captive/

This however removes all files on /var/www/captive/ and then adds all new files from 'captive' folder to /var/www/captive/

What I want to do, is only replace some files, so basically, I create a folder called 'captive' add the files to it that I want to replace on /var/www/captive/ and it replaces them

Skills required:
Linux
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire osmanbsd
£ 20
in 1 days
Hire kram3r
£ 20
in 0 days
Hire bcsaba
£ 20
in 0 days
Hire roaima
£ 110
in 3 days
£ 20
in 0 days
Hire wckfreelance
£ 20
in 1 days
£ 20
in 0 days
£ 20
in 1 days
Hire donislav
£ 20
in 1 days
Hire SoftwareBits
£ 20
in 0 days