Re:Renaming files with mv without typing the name two times
by pkaye on Monday April 13, 2020 @06:29PM
(#22860904)
Looks like it also works with single letters.
$echo {A..D}
A B C D
Re:Renaming files with mv without typing the name two times
by smcameron on Monday April 13, 2020 @09:12PM
(#22861860)
Hmm, I'd always used the "seq" command for that...
$ echo `seq 0 19`
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
$ echo {0..19}
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
$ echo {00..19}
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19