Write some Software

I gang Opslået 7 år siden Betalt ved levering
I gang Betalt ved levering

I need a script file running on Ubuntu doing following:

- The script file name: copy_to_server

- There will be some configuration parameters at the top of script: source_path, target_server_path, pem_file_path, file_extension.

- The script will scan at configured location "source_path" for all files with configured extension, for example file1, file2.

- Check if each file in source_path, for example: file1, has a correspond log file [login to view URL] or not.

- If there is no [login to view URL], then do the "scp" command to copy file to "target_server_path" using "pem_file_path" as key; then create the log file file1.backup.log.

- Content of [login to view URL]: write the datetime of copy, write the output of scp copy command.

- Repeat the whole process with all the file with the configured extension.

Shell Script Software Arkitektur Ubuntu

Projekt ID: #11996908

Om projektet

1 bud Remote projekt Aktiv 7 år siden

1 freelancer byder i gennemsnit $30 på dette job

widmer

Can write the script for you I believe I understand what you need done. Let me know if you have any questions. Thanks

$30 USD in 3 dage
(2 bedømmelser)
2.5