delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <3500515B75D9D311948800508BA37955950898@EX-LONDON> |
From: | Vince Hoffman <Vince DOT Hoffman AT uk DOT circle DOT com> |
To: | "'Lane, Frank L'" <frank DOT l DOT lane AT boeing DOT com>, cygwin |
<cygwin AT cygwin DOT com> | |
Subject: | RE: Is it possible to copy a file from anywhere to My Documents w |
ith bash cp? | |
Date: | Wed, 23 Oct 2002 18:04:40 +0100 |
MIME-Version: | 1.0 |
depending on where your My Documents is (for this example I'll use C:\Documents and Settings\Frank Lane\My Documents\) cp <filename> /cygdrive/c/Documents\ and\ Settings/Frank\ Lane/My\ Documents/ or cp <filename> "/cygdrive/c/Documents and Settings/Frank Lane/My Documents/"] you can use the util cygpath to find out the cygwin syntax of a windows path althopugh spaces still need to be escaped (put a \ before them) or else enclose the whole path in inverted commas. Bash's tab autocomplete will escape spaces for you which is nice. > -----Original Message----- > From: Lane, Frank L [mailto:frank DOT l DOT lane AT boeing DOT com] > Sent: 23 October 2002 17:51 > To: cygwin > Subject: Is it possible to copy a file from anywhere to My Documents > with bash cp? > > > How can I copy a file from a directory to My Documents on a > bash command > line? I played with it and can't hack the syntax. > > Thanks, > Frank > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |