public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* unable to copy folder contents. showing error "cannot stat. no such file directory"
@ 2012-12-27 10:15 Divakar K
  2012-12-27 14:04 ` Andrey Repin
  0 siblings, 1 reply; 4+ messages in thread
From: Divakar K @ 2012-12-27 10:15 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to copy folder contents. showing error "cannot stat. no such file directory"
  2012-12-27 10:15 unable to copy folder contents. showing error "cannot stat. no such file directory" Divakar K
@ 2012-12-27 14:04 ` Andrey Repin
  2013-01-15 12:35   ` Divakar K
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey Repin @ 2012-12-27 14:04 UTC (permalink / raw)
  To: Divakar K, cygwin

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 (anrdaemon@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to copy folder contents. showing error "cannot stat. no such file directory"
  2012-12-27 14:04 ` Andrey Repin
@ 2013-01-15 12:35   ` Divakar K
  2013-01-15 19:50     ` Andrey Repin
  0 siblings, 1 reply; 4+ messages in thread
From: Divakar K @ 2013-01-15 12:35 UTC (permalink / raw)
  To: Andrey Repin

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 <anrdaemon@freemail.ru> 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 (anrdaemon@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: unable to copy folder contents. showing error "cannot stat. no such file directory"
  2013-01-15 12:35   ` Divakar K
@ 2013-01-15 19:50     ` Andrey Repin
  0 siblings, 0 replies; 4+ messages in thread
From: Andrey Repin @ 2013-01-15 19:50 UTC (permalink / raw)
  To: Divakar K, cygwin

Greetings, Divakar K!

> Thanks Andrey Repin.

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

cmd /C copy /?

> Thanks & Regards,
> Divakar

> On Thu, Dec 27, 2012 at 7:23 PM, Andrey Repin <anrdaemon@freemail.ru> 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 (anrdaemon@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



--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 15.01.2013, <23:40>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-15 19:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-27 10:15 unable to copy folder contents. showing error "cannot stat. no such file directory" Divakar K
2012-12-27 14:04 ` Andrey Repin
2013-01-15 12:35   ` Divakar K
2013-01-15 19:50     ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).