Snippit

a=0;for fle in *; do b=`for c in $(seq 0 $a); do echo -n " "; done`; mv "$fle" "$b"; a=$(($a+1)); done

  1. Tom Allender
    22:08 on August 24th, 2007

    So… you end up with file called Space, SpaceSpace, SpaceSpaceSpace?

  2. Aquarion
    22:51 on August 24th, 2007

    Yup.

    And for extra credit, where’s this useful?

  3. Bluebottle
    23:05 on August 24th, 2007

    In space?

    (Why isn’t firefox showing me the field names for name/url/email? Luckily auto-complete is telling me what should go where.)

  4. Aquarion
    23:10 on August 24th, 2007

    Because the new design makes them white on light gray, which is unhelpful.

  5. Tom Allender
    23:18 on August 24th, 2007

    My guesses are:

    - to make an operating system other than Linux do something cunning with file sort ordering?

    - something MP3 player related?

    -ascii art?