Timeline for How to replace spaces in file names using a bash script
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 28, 2020 at 12:41 | comment | added | Lucas |
find . -depth -name '* *' \ | while IFS= read -r f ; do mv -i "$f" "$(dirname "$f")/$(basename "$f"|tr ' ' _)" ; done was the only solution that worked for me on Alpine Linux
|
|
Jul 3, 2019 at 7:05 | history | edited | petezurich | CC BY-SA 4.0 |
edited body
|
Sep 4, 2017 at 11:03 | history | answered | Mohamed El-Nakeep | CC BY-SA 3.0 |