[plug] Rsync script
Nigel Duff
nigel at dubh.id.au
Wed Mar 25 17:46:28 WST 2009
Thanks for this and your other reply Marcos.
On Wed, Mar 25, 2009 at 05:25:55PM +0900, Marcos Raul Carot Collins wrote:
> If I add an echo $RULES to the bash script I get in the console:
> "/home/nigel/.rsync_rules", not the contents of the file...
Which is what we want. The "--exclude-from=" directive tells
rsync to load each line of that file to use. If I use your cat
command from your other post I get the error message;
rsync: failed to open exclude file -e17_src: No such file or
directory
because it is then trying to use each line for a file.
Thanks for the effort.
Nigel
More information about the plug
mailing list