remove spaces from filenames
in bash with
for f in *\ *; do mv "$f" "${f// /_}"; done
The above operates on all files in a directory.
Proxy Information
- Original URL
- gemini://nuacht.flounder.online/gemlog/2022-08-04-bash-remove-filename-spaces.gmi
- Status Code
- Success (20)
- Meta
text/gemini; charset=utf-8
- Capsule Response Time
- 648.3111 milliseconds
- Gemini-to-HTML Time
- 0.085953 milliseconds
This content has been proxied by September (ba2dc).