On 18.12.2012 22:35, Dan Kegel wrote:
On Tue, Dec 18, 2012 at 1:30 PM, V.99 <v...@seznam.cz> wrote:
[root@backup domain_backup]# ssh bkp@builder find
/cygdrive/d/Backups/Data -printf "\"%f (%s)\n\""
FIND: Invalid switch
It's picking up the windows find.exe instead of the cygwin one. What
does
echo $PATH
say?
- Dan
You are right!
PATH on builder begins with
/cygdrive/c/Windows/system32:/cygdrive/c/Windows:...
I rewrote command to
ssh b...@builder.coopexsoft.sk /usr/bin/find /cygdrive/d/Backups/Data
-printf "'%f (%s)\n'"
and now works perfectly!
Thank You very much.
--
.: Vlado :.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple