Archive for January 1st, 2010

01Jan

Stupid Gawk Trick

Posted by Elf Sternberg as Linux

This morning, for no reason that I’d care to discuss in public, I needed to rename every file in a directory to the index number of its position in the directory in asciibetical order, and add an extension. The harmless version of this was: ls | gawk ‘BEGIN { c = 0; } c += […]


Subscribe to Feed

Categories

Calendar

January 2010
M T W T F S S
« Dec   Feb »
 123
45678910
11121314151617
18192021222324
25262728293031