delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <ef38b31b0705031704x2a39e17cva9d5ae9aad5b7faa@mail.gmail.com> |
Date: | Thu, 3 May 2007 17:04:10 -0700 |
From: | "marvin rishoff" <mrishoff AT streamguys DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | rsync with --recursive --files-from= |
MIME-Version: | 1.0 |
X-Google-Sender-Auth: | c777f1078ae53742 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 admin AT myhost DOT net:/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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |