On Dec 12, 2011, at 8:26 AM, Liam Proven wrote:
Wrong tool.
If you want to do the above, use mmv:
mmv "*.log" "#1.old"
Fascinating. I have installed it and will investigate - it looks interesting.
What does the #1 denote in there, though?
I haven't used the tool in question, but I'm assuming it's a substitution
symbol (if you can bear to think about awk for a bit, it's like $1). Presumably it
uses the hash mark to avoid shell parsing of the $.
- Dave