how to create symlink in linux file server from windows using cygwin

2013-07-18 Thread Divakar K
Hi Guys,

i dont know why ln is not working.

this is what i did.

C:\Users\test1>pushd
\\ostorenas\odi\ostore_platform_logs\ostore\7.4.0\test1\linux64

Z:\ostore_platform_logs\ostore\7.4.0\test1\linux64>c:\cygwin\bin\ln -s
diva_test LATEST

in the above line "diva_test" is a folder.

it is created a new file as "LATEST". not as symlink.

drwxr-xr-x 2 test1 rdl 4096 Jul 18 05:26 diva_test
-rw-r--r-- 1 test1 rdl   32 Jul 18  2013 LATEST

or is there any other way to create symlink? or any other command. for
e.g., windows mklink command?


Can someone please help?

Thanks & Regards,
Divakar

--
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



How to rsh in windows using cygwin

2013-01-15 Thread Divakar K
Hi Folks,

i dont know how to rsh from windows to windows?

installed below packages which related to rsh.

1, rsh
2. rsh-server
3. tcp_wrapper
4. xinetd

changed the "disable" value to "no" in the rsh conf file
"/etc/xinetd.d/rsh.conf".

i think rshd services has to start. but i dont know how to start this
and any other configuration need to be done?

can someone please help me to do this?

Thank you very much.

Best Regards,
Divakar

--
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



Re: unable to copy folder contents. showing error "cannot stat. no such file directory"

2013-01-15 Thread Divakar K
Thanks Andrey Repin.

but if there is folder in the "source" path, it is not copying.

Thanks & Regards,
Divakar

On Thu, Dec 27, 2012 at 7:23 PM, Andrey Repin  wrote:
> Greetings, Divakar K!
>
>> can someone please help me to copy only the folder contents?
>
> copy /Y /Z D:\ostore_7.4_int_bld\package\ostore\* 
> \\rdlserv\cdimage\ObjectStore\ostore\7.4.0\winnt_vc100\20121226\Win_32_VS_2010
>
> Don't mix native windows environment and Cygwin tools without a good clue of
> what you're doing.
>
>> in our script we used asterisk to copy the folder contents. but it is
>> failing with the error.
>
> H:\>>cp -rf D:\ostore_7.4_int_bld\package\ostore\*
>> \\rdlserv\cdimage\ObjectStore\ostore\7.4.0\winnt_vc100\20121226\Win_32_VS_2010
>> cp: cannot stat `D:\\ostore_7.4_int_bld\\package\\ostore\\*': No such
>> file or directory
>
>> if i omit asterisk then it is copying but with folder name which we dont 
>> need.
>
> H:\>>cp -rf D:\ostore_7.4_int_bld\package\ostore\ 
> \\rdlserv\cdimage\ObjectStore\o
>> store\7.4.0\winnt_vc100\20121226\Win_32_VS_2010
>
>> Thanks & Regards,
>> Divakar
>
>> --
>> 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
>
>
>
> --
> WBR,
> Andrey Repin (anrdae...@freemail.ru) 27.12.2012, <17:51>
>
> Sorry for my terrible english...
>

--
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



unable to copy folder contents. showing error "cannot stat. no such file directory"

2012-12-27 Thread Divakar K
Hi Folks,

can someone please help me to copy only the folder contents?

in our script we used asterisk to copy the folder contents. but it is
failing with the error.

H:\>cp -rf D:\ostore_7.4_int_bld\package\ostore\*
\\rdlserv\cdimage\ObjectStore\ostore\7.4.0\winnt_vc100\20121226\Win_32_VS_2010
cp: cannot stat `D:\\ostore_7.4_int_bld\\package\\ostore\\*': No such
file or directory

if i omit asterisk then it is copying but with folder name which we dont need.

H:\>cp -rf D:\ostore_7.4_int_bld\package\ostore\ \\rdlserv\cdimage\ObjectStore\o
store\7.4.0\winnt_vc100\20121226\Win_32_VS_2010

Thanks & Regards,
Divakar

--
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