I'm trying to use Net::OpenSSH's rsync_get method to download file excepts for those in a particular subdirectory. However, the exclude option seems to get ignored not matter what I try. I'm probably missing something obvious so I'm wondering if I can get second pair of eyes:
$self->rsync_get({exclude => 'sites', verbose => 1, recursive => 1, +copy_links => 1}, /home/websites/my_websites/, '/Users/me/tmp/site_f +iles');
The objective is to avoid downloading anything from /home/websites/my_websites/sites. I've tried both absolute and relative paths for the exclude argument and neither work.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |