View Single Post
Old 05-16-2008, 08:28 AM  
scoremoola
Registered User
 
scoremoola's Avatar
 
Join Date: May 2008
Location: miami,fl
Posts: 79
save the code below into a file call it whatever you like and run it like so
python nameofscript.py foldertoprocess
-------------------------------

PHP Code:
import osos.pathsys

destdir 
"/destdir"

os.system"mkdir " destdir )

for 
rootdirsfiles in os.walksys.argv[1]  ):
    for 
name in files:
            
name os.path.join(rootname)
            
command "mv \"" name "\" \"" destdir "\""
            
os.systemcommand 
__________________

www.GetSCORECash.com
lando | icq: 337-369-506
I wasn't born as much as I fell out
scoremoola is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote