Shalinda Adikari wrote:
While going through some of the forums, I found following command to do the
task.
$SVNSYNC synchronize URL_TO_MIRROR_REPO --username=svnsync
--password=svnsyncpassword>/dev/null 2>/dev/null&
But this solution is rather different to yours one. As you mention in your reply what is the use of having
two "&" instead of one"&"??
Not it's not, Didier's solution avoids typing /dev/nul twice.
Basically, the first "&" applies to the 1 and says redirect output
number 2 on output number 1.
The second & is there to tell the shell to start the command in the
background and not wait for it.