From: Eliot Moss <moss@cs.umass.edu>
To: Bernard Rich <bernard.rich1957@gmail.com>, cygwin@cygwin.com
Subject: Re: [QUAR] Accessing outside datasets?
Date: Sun, 7 May 2023 06:50:36 -0400 [thread overview]
Message-ID: <7a5f573c-d6c3-6baf-b090-f66ea84fb3cb@cs.umass.edu> (raw)
In-Reply-To: <CAL9a8Ay=BJm_KWdBkge4UBFe__07fF6s7ynfwUtxNfw=UTtWMw@mail.gmail.com>
On 5/6/2023 11:44 PM, Bernard Rich via Cygwin wrote:
> Hello, I have read the introductory advice but still do not understand how
> to access datasets stored on *C:* or on flash drives. Can you please point
> me to the correct reference or email me the instructions?
You can give a full path starting with /cygdrive/c in place of the C:. Then
replace every \ in a Windows path with a /. Quote the whole thing if it has
spaces or strange characters in it.
Alternatively you can use the cygpath program to convert a Windows path to
a cygwin one. For example:
cygpath -ua 'C:\Users\moss'
results in
/cygdrive/c/Users/moss
Note the quoting to avoid the usual interpretation of \ by the cygwin shell.
This can be used in a command, e.g.,: ls $(cygpath -ua 'C:\Users\moss')
man cygpath will tell you all about the program. HTH -- EM
next prev parent reply other threads:[~2023-05-07 10:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-07 3:44 Bernard Rich
2023-05-07 10:50 ` Eliot Moss [this message]
2023-05-07 17:01 ` [QUAR] " Bernard Rich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a5f573c-d6c3-6baf-b090-f66ea84fb3cb@cs.umass.edu \
--to=moss@cs.umass.edu \
--cc=bernard.rich1957@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).