Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All the "something like this isn't really necessary, just memorize all the esoteric bash globbing rules" posts are so far off, given the solutions in all those posts aren't really necessary either. It is nice not to need to "pre-think" how you are going to type your `mv` command. You just start typing it, and when you realize it will be a bit complex you just hit enter and you have an editor.


A good compromise to me seems to be using `imv` from the renameutils package which is pretty much exactly the same as the OP. That way you don't get confused by different `mv` behaviour on different systems.

Hitting `<Ctrl-a>i` seems to me a small price to pay :)


The GNU readline solution is neat though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: