bash:files:rename_spaces_in_a_filename_with_hyphens
Differences
This shows you the differences between two versions of the page.
bash:files:rename_spaces_in_a_filename_with_hyphens [2022/06/13 11:46] – created peter | bash:files:rename_spaces_in_a_filename_with_hyphens [2022/06/13 11:47] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== 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. | ||
+ | |||
+ | <code bash> | ||
+ | for f in * ; do mv " | ||
+ | </ | ||
+ | |||
+ | ---- | ||
bash/files/rename_spaces_in_a_filename_with_hyphens.1655120795.txt.gz · Last modified: 2022/06/13 11:46 by peter