ubuntu:file:rename_replace_all_occurrences_of_string_within_a_filename
This is an old revision of the document!
Table of Contents
Ubuntu - File - Rename replace all occurrences of string within a filename
Replace spaces in a filename with hyphens
for f in * ; do mv "$f" $( echo $f | tr ' ' '-' ) ; done
rename old_value replacement_value directory/filename
Using perl
ubuntu/file/rename_replace_all_occurrences_of_string_within_a_filename.1581637454.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)