Đã Đóng

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

Kỹ năng: Linux

Xem thêm: 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 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, copy replace command, copy replace, linux replace files command, copy replace linux files, copy linux, linux replace command, replace copy command linux, linux command copy

Về Bên Thuê:
( 91 nhận xét ) moneyreagh, United Kingdom

Mã Dự Án: #1666711

31 freelancer đang chào giá trung bình £28 cho công việc này

osmanbsd

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

£20 GBP trong 1 ngày
(74 Đánh Giá)
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 trong 0 ngày
(31 Đánh Giá)
5.0
bcsaba

Can do this for you,

£20 GBP trong 0 ngày
(18 Đánh Giá)
4.0
roaima

Can do this for you. Please see my PM

£110 GBP trong 3 ngày
(4 Đánh Giá)
3.6
arthurpalves

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

£20 GBP trong 0 ngày
(3 Đánh Giá)
3.1
wckfreelance

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

£20 GBP trong 1 ngày
(1 Đánh Giá)
1.8
sumodirjo

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

£20 GBP trong 0 ngày
(2 Đánh Giá)
1.4
AuteliVenezuela

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

£20 GBP trong 1 ngày
(0 Đánh Giá)
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 trong 1 ngày
(0 Đánh Giá)
0.0
vibhorjund

i have resolved the project.

£21 GBP trong 1 ngày
(0 Đánh Giá)
0.0
eismann

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

£20 GBP trong 1 ngày
(0 Đánh Giá)
0.0
SoftwareBits

Can be done easily.

£20 GBP trong 0 ngày
(0 Đánh Giá)
0.0
spikyb0y

Check your PMB please.

£20 GBP trong 0 ngày
(0 Đánh Giá)
0.0
neerajshrimali

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

£20 GBP trong 2 ngày
(0 Đánh Giá)
0.0
vitotafuni

nice to help you!

£150 GBP trong 0 ngày
(0 Đánh Giá)
0.0
nokie

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

£20 GBP trong 1 ngày
(0 Đánh Giá)
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 Thêm

£20 GBP trong 0 ngày
(0 Đánh Giá)
0.0
VNikcevic

My PC runs linux ;-)

£20 GBP trong 0 ngày
(0 Đánh Giá)
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 trong 1 ngày
(0 Đánh Giá)
0.0
mohitshrm334

I will make this automate too including documentation. Thanks Mohit

£45 GBP trong 1 ngày
(0 Đánh Giá)
1.8