winepath
Convert file paths between Windows and Unix formats for a Wine prefix. tldr-pages
On Linux
Linux
Convert a Windows path to a Unix path
winepath --unix 'C:\path\to\file'IdentifyConvert a Unix path to a long Windows path
winepath --windows path/to/fileIdentifyConvert a short (8.3) Windows path of an existing file to its long form
winepath --long 'C:\PROGRA~1'IdentifyConvert a long Windows path of an existing file to its short (8.3) form
winepath --short 'C:\Program Files'IdentifySeparate output paths with a null character instead of a newline
winepath --unix -0 path1 path2 ...IdentifyDisplay help
winepath --helpIdentify