| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE |
| X-Spam-Check-By: | sourceware.org |
| X-Yahoo-SMTP: | Uu383n6swBCEN1G9up0WSnxbvN8fCPmk |
| Message-ID: | <4CFF9B94.7010402@cygwin.com> |
| Date: | Wed, 08 Dec 2010 09:52:04 -0500 |
| From: | "Larry Hall \(Cygwin\)" <reply-to-list-only-lh AT cygwin DOT com> |
| Reply-To: | cygwin AT cygwin DOT com |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: du -ks output different when run from command and when run on scheduled task |
| References: | <AANLkTimKcDFUT7CS8xTaq4Qy6P9w8HVAO7J8U_Q96cg0 AT mail DOT gmail DOT com> <4CFEB363 DOT 5040205 AT cygwin DOT com> <AANLkTimrdRH2rCbxNxmqUA_D9Dw-8naqPa-khNrR=rxF AT mail DOT gmail DOT com> |
| In-Reply-To: | <AANLkTimrdRH2rCbxNxmqUA_D9Dw-8naqPa-khNrR=rxF@mail.gmail.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
On 12/8/2010 9:34 AM, computer tech wrote:
> On Tue, Dec 7, 2010 at 3:21 PM, Larry Hall (Cygwin)
> <reply-to-list-only-lh...> wrote:
^^^^^^^^^^^^^^^^^^^^^^^^
<http://cygwin.com/acronyms/#PCYMTNQREAIYR> - Thanks.
<snip>
> Hi Larry, Thank you for your response. I read the link and a few of
> those items are a little over my head. If I try authenticating my self
> to the network in the following manner in the bash script
>
> net use '\\server\share' /user:DOMAIN\my_user my_users_password
>
> then use the share on the script like so
> du -ks \\server\share
>
> Will that traverse that share with the credentials used in the net use
> command?
That's one possible workaround. Cygwin prefers POSIX paths though so I'd
recommend forward slashes for the 'du' command.
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |