Before posting the answer it would be better to work out the code what the user passes.
Please find the answer what I have given.
Try to avoid assumption answer. because exclude doesn't deal with the interpolation
In reply to Re^2: How do I use the exclude option in the File::Rsync module?
by jesuashok
in thread How do I use the exclude option in the File::Rsync module?
by chrism01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |