[development] Move all core modules into their own directories.

drupal vlado at dikini.net
Mon May 22 07:54:53 UTC 2006


this might be useful

that is a simple bash script to do a move. It should work 
on a typical unix with the gnu tools installed. For windows
just use cygwin. You probably won't need to adjust anything,
but the modules directory

I'll put the theme code later.

== cut here ====================================================
#! /bin/bash
MODULES=drupal/modules

for i in `ls $MODULES/*.module|cut -f1 -d.|cut -f3 -d'/' `; do
  echo $i ;
  mkdir $MODULES/$i;
  mv $MODULES/$i.module $MODULES/$i/$i.module
done




More information about the development mailing list