On Fri, May 27, 2011 at 12:10, Ezra Taylor <ezra.tay...@gmail.com> wrote: > Hello All: > My rsync options are not being recognized in the system > function. I tried escaping the asterisks and single quotes to no avail. > Also, I do not want to install any rsync modules. Your help will be much > appreciated. Thanks. > > > my $RSYNC_OPTS=' -auvr --include='*/' --exclude='*' '; > my $RSYNC="/usr/bin/rsync"; > > > > > system("$RSYNC", "$RSYNC_OPTS", "$host:/Blah/blah/Blue/$host_env/$cluster", > "/tmp/$host");
Try single quotes for the strings that contain shell wildcards such as asterisk. Ken Wolcott -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/