[quote=convenientstore]that did not work
Quote:
|
sed -e "s;/home/$dir1 /;/home/$dir2/;" |
|
It could never work with a space between $dir1 and /, becasue the string would never be replaced.
Also as pointed out by aigles, either you need to change the
sed command
or the xmen4 directory must already exist.