1

[all variants] bash: convert " /" to "; /" in list of space delimited pathname/filenames

view story
linux-howto

http://ubuntuforums.org – I want to script a conversion of format of a space delimited list of filenames like this: /path/to/some/file.ext /another/path/to/some other file that has spaces in the name /still/another path/bigfile to a semicolon-space delimited list like this: /path/to/some/file.ext; /another/path/to/some other file that has spaces in the name; /still/another path/bigfile The first format is the one that Caja (and I believe Nautilus also) returns for use in scripts via select and right click. The second format, after I wrap it in double parantheses, is the one I need to use with "for". I can't (Hardware)