search for: rvpt

Displaying 1 result from an estimated 1 matches for "rvpt".

Did you mean: rept
2012 Nov 05
2
Invoking rsync from a script with null parameters
I'm working on a bash backup script using rsync. (kubuntu precise 12.04, rsync 3.0.9-1ubuntu1) To avoid having a number of slightly different rsync commands, I would like to use shell variables as part of the rsync command. I.e.: DRYRUN="-n" rsync "${DRYRUN}" more parameters ... This does not work if DRYRUN="" - apparently because this command becomes rsync