mv
is not the right tool.
You should use the rename
command:
rename 's/\./_/' *.*.txt
The string 's/\./_/'
means "substitute the first occurrence of a .
with a _
in the folling file list".
mv
is not the right tool.
You should use the rename
command:
rename 's/\./_/' *.*.txt
The string 's/\./_/'
means "substitute the first occurrence of a .
with a _
in the folling file list".