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 -

asp.net mvc - How to attach sql database to a javascript graph -

c# - How to know the number of Threads created and limit the Tasks accordingly -