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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -