shell - How to rename files without changing extension in Linux 102221.pdf to 102221_name.pdf -


How to rename files without changing the extension in Linux <10 p>

102221.pdf I think 102221_name.pdf

This is what you want me to think:

 `Ls` for  x MV $ x $ {x% *} _ Name. $ {X ## *.};  

$ {x% } will name the file without extension - $ {x ## }.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -