Skip to content
Advertisement

Tag: batch-rename

Linux rename with a variable character?

I have a list of files eg. How do I use rename to be like this: I am new to this and having trouble understanding the examples online. I want to do something like the following where the ? is a variable character: Answer ? mean “any character”. So, your page-1.htm will be rename because it’s match with pattern page-?.htm

Advertisement