Closed

copy and replace files using linux command

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: Linux

See more: linux copy replace, copy replace linux, copy replace command linux, replace files linux, copy replace files linux, linux copy replace command, copy replace linux command, linux command copy replace, replace command linux, linux command copy replace files, linux replace files, linux replace, replace linux command, replace files linux command, linux copy replace files, replace linux, replace files command linux, linux copy files replace, command copy replace folder linux, linux command copy replace folder, copy replace command, copy replace, linux replace files command, copy replace linux files, copy linux

About the Employer:
( 91 reviews ) moneyreagh, United Kingdom

Project ID: #1666711

31 freelancers are bidding on average £28 for this job

osmanbsd

Thats a one line job. I will explain to you the details as well.

£20 GBP in 1 day
(74 Reviews)
6.8
kram3r

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.

£20 GBP in 0 days
(31 Reviews)
5.0
bcsaba

Can do this for you,

£20 GBP in 0 days
(18 Reviews)
4.0
roaima

Can do this for you. Please see my PM

£110 GBP in 3 days
(4 Reviews)
3.6
arthurpalves

Good evening! Its a one line job, created in 1 minute. Please, check your PMB for more details.

£20 GBP in 0 days
(3 Reviews)
3.1
wckfreelance

Used linux in countless ways. Ready to get this problem out of your way!

£20 GBP in 1 day
(1 Review)
1.8
sumodirjo

Hi I'm an experienced Linux system administrator. have experience and skill in scripting. let me help :)

£20 GBP in 0 days
(2 Reviews)
1.4
AuteliVenezuela

I have done this for my development environment, I can add you an extra if you wish

£20 GBP in 1 day
(0 Reviews)
0.0
donislav

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

£20 GBP in 1 day
(0 Reviews)
0.0
vibhorjund

i have resolved the project.

£21 GBP in 1 day
(0 Reviews)
0.0
eismann

Pretty straight forward task. Will be done in a few minutes.

£20 GBP in 1 day
(0 Reviews)
0.0
SoftwareBits

Can be done easily.

£20 GBP in 0 days
(0 Reviews)
0.0
spikyb0y

Check your PMB please.

£20 GBP in 0 days
(0 Reviews)
0.0
neerajshrimali

Hello Sir, This is just one line change. I ll do it for you.

£20 GBP in 2 days
(0 Reviews)
0.0
vitotafuni

nice to help you!

£150 GBP in 0 days
(0 Reviews)
0.0
nokie

Hi, please consider me candidature. I do that kind of job it day by day.

£20 GBP in 1 day
(0 Reviews)
0.0
filipilieski

I've been into Linux for some time now, and this is not a hard task for me. I've done it in a second. You should not get discouraged to try my solution because it is my first bid, instead you should give the new ones a More

£20 GBP in 0 days
(0 Reviews)
0.0
VNikcevic

My PC runs linux ;-)

£20 GBP in 0 days
(0 Reviews)
0.0
Frisler

I am working on UNIX domain from 4 years. So i can do your work smartly. For more information please see your pmb.

£20 GBP in 1 day
(0 Reviews)
0.0
mohitshrm334

I will make this automate too including documentation. Thanks Mohit

£45 GBP in 1 day
(0 Reviews)
1.8