↧
Answer by JdeBP for Convert file path from Linux to Windows format for Wine tool
Your script is actually very close. All that you need is the winepath tool, that comes as part of WINE, to do the conversion: #!/bin/sh exec wine /utils/wincmp.exe "`winepath --windows \"$1\"`"...
View ArticleAnswer by cas for Convert file path from Linux to Windows format for Wine tool
Always double-quote your variables so that you don't need to care about spaces or shell meta-characters. you can use sed or tr to convert /s to \. e.g. sed 's:/:\\:g' or tr '/' '\\' (note: because \...
View ArticleConvert file path from Linux to Windows format for Wine tool
I have a Windows diff tool that's simply better than any Linux diff tool I've found (and I've done some pretty extensive analysis on visual diff tools). I want to use that tool on Linux (via Wine) and...
View Article