28 Apr
2005
28 Apr
'05
02:14
Guys, This list is the best ! I got so many input to do my job, I haven't try it all, but surely I'll do it in a while. Another thing, I just got another python script from a friend to do the backup - erase, and i'd like to share it. :) import glob import os dir = '/home3/division/' files = glob.glob('%s/*' % dir) files.sort() for file in files[:-7]: command = 'rm %s' % file print command os.system( command ) regards, and thanks to you all.. :) -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id