6 views

Convert all backslashes to forward slash in bash

echo 'C:\foo\bar.xml' | sed 's/\\/\//g'
# this will output:
# C:/foo/bar.xml
Jun 21, 2016 by | 6 views
Articles for DevOps Geeks
MobaXterm Customization
CHMOD Explained!
Bash history powerful tips
Ubuntu bash from Windows
..