this is gonna be close
find (top level directory) / -name *.jpg -print | mv (new directory)
that should start you that may recreate the structure of the original dir ( i dont remember for sure)
if so you can put it in a for x in loop something like this
for x in `ls -1 -r (top level directory)/*.jpg`
do
mv x (newdirectory)/.
done
__________________
Mike South
It's No wonder I took up drugs and alcohol, it's the only way I could dumb myself down enough to cope with the morons in this biz.
|