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
31 freelancer đang chào giá trung bình £28 cho công việc này
Hello, i have extensive experience in system administration. I can perform this task and give guarantees of my work. Please check your private box for more informations.
Hi Didn't get exactly the task but the way how you descibe is tells me you need easy 2 line script Please conact me and I will do that for you. Regards Donislav