Re: Error invoking find as a ssh command

2012-12-18 Thread V.99
On 18.12.2012 22:35, Dan Kegel wrote: On Tue, Dec 18, 2012 at 1:30 PM, V.99 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 s

Re: Error invoking find as a ssh command

2012-12-18 Thread Dan Kegel
On Tue, Dec 18, 2012 at 1:30 PM, V.99 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 -- Problem reports:

Error invoking find as a ssh command

2012-12-18 Thread V.99
Hi, I cannot invoke find as command of ssh (ssh login@machine find params), but invoking find with same params from terminal works correctly. Maybe a bug in find utility? Details and problem demonstration: -- I'm working on CentOS, connecting to Windows Server 2