Hi , I am having a difficult time getting rsync to run within a bash script, within cygwin. I can run the command at the command line and it works fine however when I run it from the script I get an error :
rsync: failed to open files-from file <(cd /c/WINDOWS/system32/LogFiles/WMS/[Global]/ && find ./WMS_*.log -mtime -7 -print): No such file or directory rsync error: syntax or usage error (code 1) at /home/lapo/packaging/tmp/rsync-2.6.6/main.c(1108) the command that works is : rsync -avz --recursive --files-from=<(cd "/c/WINDOWS/system32/LogFiles/WMS/[Global]/" && find ./WMS_*.log -mtime -7 -print) "/c/WINDOWS/system32/LogFiles/WMS/[Global]" -e ssh [EMAIL PROTECTED]:/var/log/streaming/wms/logs anyone got a min to correct my usage or point me in the right direction Thanks marvin -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/