View Single Post
Old 05-15-2008, 08:44 AM  
mikesouth
Confirmed User
 
mikesouth's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: My High Horse
Posts: 6,334
Quote:
Originally Posted by jdavis View Post
I don't want it to create any sub directories in 'y' just dump ALL jpg's from 'x' and recursive directories
this'll do it

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.

Last edited by mikesouth; 05-15-2008 at 08:45 AM..
mikesouth is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote