could someone straighten out this line?
find /Users/babag/Documents/m3u/for_sed_tests -name "*.m3u" | xargs perl -pi -e 's/home\/babag\/mnt\/SAMBA/\/Volumes\/g'
not a programmer, here, but have done some scripting in linux and
windows.
i have a lot of text files, m3u files to be specific, that i'd like to alter
a path line in. the original path is:
/home/babag/mnt/SAMBA/homeserver/Data-1_max80/CDs/FLAC
i'd like to change it to read:
/Volumes/homeserver/Data-1_max80/CDs/FLAC
when i used the line above, it produces this error:
Substitution replacement not terminated at -e line 1.
how do i get the line to work and alter all my files as described?
thanks,
BabaG
find /Users/babag/Documents/m3u/for_sed_tests -name "*.m3u" | xargs perl -pi -e 's/home\/babag\/mnt\/SAMBA/\/Volumes\/g'
not a programmer, here, but have done some scripting in linux and
windows.
i have a lot of text files, m3u files to be specific, that i'd like to alter
a path line in. the original path is:
/home/babag/mnt/SAMBA/homeserver/Data-1_max80/CDs/FLAC
i'd like to change it to read:
/Volumes/homeserver/Data-1_max80/CDs/FLAC
when i used the line above, it produces this error:
Substitution replacement not terminated at -e line 1.
how do i get the line to work and alter all my files as described?
thanks,
BabaG