Mailinglist Archive: opensuse (3135 mails)

< Previous Next >
[opensuse] change directorie
  • From: Vince Oliver <vince@xxxxxxxxxxxxxxx>
  • Date: Wed, 7 Mar 2007 14:49:37 +0100 (CET)
  • Message-id: <Pine.LNX.4.62.0703071436100.24904@xxxxxxxxxxxxxx>
hi All,

When I want to change directory in Cygwin I simply copy the path from Windows's Command Prompt or Total Commander to Cygwin command line like (I do that when path is very long):

cd c:\users\oliver\temp

But it does not work since it can not recognise '\'. So I have to change '\' into '/' every time I wanna change directory in Cygwin. Is there a solution to this problem?



I tried something with pipelines but no success. I tried for example:

echo 'c:\users\oliver\temp' | sed 's_\\_/_g' | xargs cd

How to properly pipeline these commands?

Thanks
Oliver
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >