in reply to How do I use the exclude option in the File::Rsync module?

I note Snapshot.pm has an example using File::Rsync's exclude option...

Personally, I would be suspicious of

@exclude = ("/home/c/d/rsync_code/rsync_src/excl_1", "/home/c/d/rs +ync_code/rsync_src/excl_2");
because of double quote interpolation... I would try qw/STRING/ or single quotes instead.

HTH,

planetscape

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.