What are you working on? - Programming On Unix
Users browsing this thread: 2 Guest(s)
|
|||
There is a rename command in util-linux though. Linux-specific obviously.
This is what I use for now (a bit different, recursively for all files in a path): Code: find . -mindepth 1 | while IFS='' read -r path But shell expansion makes it hard to get it right. Such a dedicated tool might be a safer way to go. I may have to edit this over and again as I find more edge cases. |
|||