You have chosen to sponsor your bid up to a maximum amount of .
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