Directory filenames with sed with whitespaces
I'm working with a manuscript and also I'm stuck, despite having the aid of the google.
Below's my code:
for FOLDER in `find . -type d | sed "s#^.#$(pwd)#" | sed 's/ /\ /g'` do echo "$FOLDER" done
This will certainly change just the first instance of"" with "" yet not the remainder.
Any kind of suggestions?
MonkeyWrench32 2019-05-04 05:38:43Source Share