Created
June 15, 2016 03:19
-
-
Save aseering/a06219e74c7f96ccea5ec65d5b2483b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "$@" | sed -e 's|\\|/|g' -e 's|^\([A-Za-z]\)\:/\(.*\)|/mnt/\L\1\E/\2|' |
Just look for
wslpath
It would be nice if it did what I need it to, but unfortunately it doesn't help bypassing MAXPATH trying to change \?\d:\rsnapshot\backups to a useable path to no avail.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For anyone interested, i created a small python script which can open any path (file/directory) from the WSL: https://gist.github.com/MathiasBaumgartinger/1f607cbf75203bd47c9fb0713741cf15