#1 : 24/05-22 10:42 Arjan
Posts: 1
|
Hi,
I would like to rename all the files starting with a space into files starting with an underscore (leaving all other spaces). For example: " 1test file.txt" >> "_1test file.txt" Is this possible? Thanks in advance! |
#2 : 24/05-22 18:59 David Lee
Posts: 1125
|
Replace "^ " (ie "^" plus space)
with "_" use regular expressions "^" signifies start of string so only a space at the beginning of a filename will be replaced. |