[Bit OT] Bash Script Help
ubuntu at tigershaunt.com
Fri Nov 7 18:04:17 UTC 2008
Amichai Rotman wrote:
> I am not sure if this is on or off-topic... but I didn't know where to
> I am looking for a way to create a directory hierarchy to alphabetize a
> bunch of games 9similar to the hierarchies on FTP servers:
> One directory called '0-9' and 26 more directories - one for each letter in
> the alphabet - 27 directories in all.
mkdir 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w
x y z
> I once found a way to automate it with a Bash script consisting of less than
> 10 lines. Something to do with a loop with a range of letters for the
> aphabet directories...
see 1 line above.
> i am also trying to teach myself Bash scripting (as for now - I know very
> little) - so, if any of you sends me the script - I'll study it, as well as
> use it...
More information about the ubuntu-users