14,958
edits
m (→reference) |
|||
| Line 7: | Line 7: | ||
== convert windows path to linux path == | == convert windows path to linux path == | ||
local directory e.g. {{kbd | key=<nowiki>c:\Program Files\</nowiki>}} | |||
<pre> | <pre> | ||
$ cygpath -u 'c:\Users\User\Desktop\' | $ cygpath -u 'c:\Users\User\Desktop\' | ||
| Line 16: | Line 17: | ||
</pre> | </pre> | ||
switch to the specified | remote directory (network drive) e.g. {{kbd | key=<nowiki>\\remote\test path\</nowiki>}} | ||
<pre> | |||
enclose the whole path with single quote symbol | |||
$ path = '\\remote\path\' | |||
$ echo "${path//\\//}" | |||
//remote/path/ | |||
$ path = '\\remote\test path\' | |||
$ echo "${path//\\//}" | |||
//remote/test path/ | |||
</pre> | |||
switch to the specified local directory | |||
<pre> | <pre> | ||
//method1 | //method1 | ||