Thank you very much in advance for helping!
I’d like to transform this variable:
win_path=/cygdrive/g/virtual_tours/.archives/vt_template_8_0_15/test_directory_2/panos
into:
win_path_dir=G:/virtual_tours/.archives/vt_template_8_0_15/test_directory_2/panos
This in what I have so far, but it doesn’t work.
When I echo $win_path it returns nothing (black, empty space)
$win_path=$(echo $i | sed -e 's/\/cygdrive\/g/G\:/g')
Cheers!
Your approach is good, there is only a little typo:
Do not write
$win_path(no $) when defining the value of variable win_path.When you write
$win_paththe shell expands the value of the variable.