Task
Create 11 folders in sequence in a given directory:
Week 1
Week 2
…
Week 11
Bash
Pop open Terminal.app, then issue the following command:
for i in {1..11}; do mkdir “Week $i”; done
Extra Bits
This works in reverse as well if you need it to:
for i in {11..1}; do mkdir “Week $i”; done
I had a thoroughly vexing (and to be honest, somewhat scary) experience today where the Command + Tab keyboard shortcut used to cycle between program windows suddenly stopped working.
Thankfully, the Interwebz saved the day yet again. It was ScreenSharing borking it!
Relevant posts at the bottom of this page:
Design by Simon Fletcher. Powered by Tumblr.
© Copyright 2010