https://superuser.com/questions/1252649/running-multiple-rsync-executions-in-script ÖRNEK : Aşağıdaki örnek cygwin64 üzerinde çalışır. ======= #!/bin/bash #https://superuser.com/questions/1252649/running-multiple-rsync-executions-in-script logpath="./logs/" current_time=$(date "+%Y%m%d%H%M%S")
AÇIKLAMA aşağıdadır: Running rsync && rsync will start the second rsync after the first one completes. You want rsync& Explanation: a && b a runs, b runs next only if a competes successfuly a || b a runs, b runs next only if a completes UNsuccessfully a; b a runs, b runs next no matter the success a& b a runs, gets sent into the background. This is equivalent to running a, typing ctrl-Z and the running bg So if you want your programs to run at the same time, replace the &&s with single &