www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/15/14:50:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Tue, 15 Jan 2013 23:40:08 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1745854770.20130115234008@mtu-net.ru>
To: Divakar K <divakar DOT scm AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: unable to copy folder contents. showing error "cannot stat. no such file directory"
In-Reply-To: <CAFLuTBXNnw7iwcdHjLjo-yzPoj55VQOmPXb8uwcVOmxeOW2e8w@mail.gmail.com>
References: <CAFLuTBUPnrMwW63mAyBN2fW=eUn2kYQ+Q7XpkDxLGqYqxaiRuw AT mail DOT gmail DOT com> <1739604768 DOT 20121227175346 AT mtu-net DOT ru> <CAFLuTBXNnw7iwcdHjLjo-yzPoj55VQOmPXb8uwcVOmxeOW2e8w AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT freemail DOT 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 AT freemail DOT 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 AT freemail DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019