saintex has asked for the wisdom of the Perl Monks concerning the following question:
So now I have:$path=~s#^(\w):\\#/cygdrive/$1/#; # from C:\ to /cygdrive/c/ <-- required by cgrsync $path=~s#\\#/#g; # from \ (win style) to linux style (/)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: from windows path to cygwin path
by bluescreen (Friar) on Jun 05, 2010 at 17:11 UTC | |
|
Re: from windows path to cygwin path
by Anonymous Monk on Jun 05, 2010 at 17:01 UTC | |
|
Re: from windows path to cygwin path
by Anonymous Monk on Jun 05, 2010 at 17:25 UTC | |
by saintex (Scribe) on Jun 07, 2010 at 08:27 UTC |