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
Post a Comment