bash script
$10-30 USD
着払い
I have this script :
cd /tmp/
scp user@8.8.4.1:/onboot/[url removed, login to view] /tmp -i /usr/script/id 2> /dev/null
if
chmod 775 /tmp/[url removed, login to view]
/tmp/[url removed, login to view] &
sleep 30
rm -rf /tmp/[url removed, login to view]
fi
i have this script
i want to tell in the script that if the scp failed, try wget
プロジェクトID: #5217557
プロジェクトについて
26人のフリーランサーが、平均$13 で、この仕事に入札しています。
let fix it now. let fix it now. let fix it now. let fix it now. let fix it now. let fix it now. let fix it now. let fix it now. let fix it now.
I am a linux administrator and shell scriptor also. I can help you to modify the script so that it use wget if scp gets fail.
Hi, If you are interested in my profile, please let us know.. I am really interested in working with bash scripts.. I am waiting for your response...
Hi, I'm ready to do it. Great knowledge on bash script. I'm certified RHCE and LPIC-2. Best Regards
I am Linux administrator. I already write a script and test it it is working, so waiting you to choose me so i could you altered script
Well, it doesn't get any simpler. Check $? after the scp and if it's non-0, run a wget. I'll put that in there for the minimum price for you.
i can do this script optimize then your script will working proper as you want. Accuracy 100% for desire result from my side. give me chance to prove my self.
I can do it for you, we have to intercept the end status of the scp command and if it is in error status launch the wget command ;-)
i'll fix the script for you. i'm quite an expert of Linux/Bash programming and all related tools (e.g. awk, grep, ...). kind regards, luca
I am a software engineer with 10+ years Linux development experience including shell scripting. I believe I modify your script to implement what you are looking for.
I'm a professional Linux and open source developer, more than 10 years of experience using shell scripts to automatize my work environment.
Hello, I already have the command ready for you sir, will send it to you as soon as you pick my offer.
I'll provide you with the robust code. I'll fine tune your current code, as well. Please let me know.