Closed

copy and replace files using linux command

This project received 31 bids from talented freelancers with an average bid price of £28 GBP.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
N/A
Total Bids
31
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

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online