X-Spam-Check-By: sourceware.org Date: Mon, 7 May 2007 01:00:12 +1000 From: oleyk X-Mailer: The Bat! (v1.62r) Reply-To: oleyk Message-ID: <1124138508.20070507010012@mail.ru> To: marvin rishoff Subject: Re: rsync with --recursive --files-from= In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Replying to a message of marvin rishoff to cygwin, Friday, May 4, 2007, 10:04 +1000: mr> rsync: failed to open files-from file <(cd mr> /c/WINDOWS/system32/LogFiles/WMS/[Global]/ && find ./WMS_*.log -mtime mr> -7 -print): No such file or directory mr> rsync error: syntax or usage error (code 1) at mr> /home/lapo/packaging/tmp/rsync-2.6.6/main.c(1108) mr> the command that works is : mr> rsync -avz --recursive --files-from=<(cd mr> "/c/WINDOWS/system32/LogFiles/WMS/[Global]/" && find ./WMS_*.log mr> -mtime -7 -print) "/c/WINDOWS/system32/LogFiles/WMS/[Global]" -e ssh mr> admin AT myhost DOT net:/var/log/streaming/wms/logs mr> anyone got a min to correct my usage or point me in the right direction cd "/c/WINDOWS/system32/LogFiles/WMS/[Global]/" rsync -avz --recursive --files-from=< \ (find ./WMS_*.log -mtime -7 -print) \ "/c/WINDOWS/system32/LogFiles/WMS/[Global]" -e ssh admin AT myhost DOT net:/var/log/streaming/wms/logs -- regards, oleyk -- 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/