sed заменить Baskslash на Forwerslash

echo 'C:\foo\bar.xml' | sed 's/\\/\//g'
Santiago Breogán Pérez Pita