bash:files:rename_spaces_in_a_filename_with_hyphens
BASH - Files - Rename spaces in a filename with hyphens
Replace spaces in a filename with hyphens.
for f in * ; do mv "$f" $( echo $f | tr ' ' '-' ) ; done
bash/files/rename_spaces_in_a_filename_with_hyphens.txt · Last modified: 2022/06/13 11:47 by peter