Re:Renaming files with mv without typing the name two times
by TwoBit on Monday April 13, 2020 @08:43PM
(#22861735)
Do people ever type all this obscura in any reality? Seems a bit ridiculous to me.
[ Parent
| on HN ]
Re:Renaming files with mv without typing the name two times
by kstrauser on Monday April 13, 2020 @08:46PM
(#22861747)
I do that all the time. It's not particularly obscure: your shell was designed to help you do stuff like this.
Re:Renaming files with mv without typing the name two times
by taejavu on Monday April 13, 2020 @08:50PM
(#22861767)
Almost every day.
This syntax is no more obscure than a link in markdown, for example.
Re:Renaming files with mv without typing the name two times
by markstos on Monday April 13, 2020 @09:13PM
(#22861868)
Benefits are derived from optimizing common tasks. If you commonly use use the shell, it's worth learning how to use it efficiently.
If you don't use it frequently, your are likely to forget it and it's not worth optimizing.
Re:Renaming files with mv without typing the name two times
by Godel_unicode on Monday April 13, 2020 @09:22PM
(#22861917)
Seems like some deliberate practice in the shell might be a productive use of your time.
Re:Renaming files with mv without typing the name two times
by RMPR on Tuesday April 14, 2020 @01:44AM
(#22863063)
Fortunately for OP, the HN crowd already discussed exactly this.
https://news.ycombinator.com/item?id=19988548