Write some Software
$10-30 USD
Pago na entrega
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.
ID do Projeto: #11996908
Sobre o projeto
1 freelancer está oferecendo em média $30 para esse trabalho
Can write the script for you I believe I understand what you need done. Let me know if you have any questions. Thanks