備忘録ともいう。
- CygwinのパスをWindowsのパスに
cygpath -w filepath
- CygwinのパスをWindowsのパス(ショートファイルネーム)に
cygpath -d filepath
- WindowsのパスをCygwinのパスに
cygpath -u
filepath
-u
がデフォの挙動のようで、省略しても動作する。
他に、Windowsの各種特殊フォルダ(デスクトップとかSystemフォルダとか)を出力させる事も出来たり、結構多機能。
Try `cygpath --help' for more information.