On Mon, 12 Dec 2005 13:25:14 -0800, Dan M wrote: > I'm writing a Python replacement for a particularly ugly shell script. we > are running mimedefang on our mail server, moving spam and virus messages > to a quarantine directory. This little python script successfully chdir's > to the quarantine directory, identifies all of the quarantine > subdirectories for yesterday's messages, and stuffs them into a tar file > in an archive directory. I then want to delete for successfully tarred > files and the subdirs they live in.
Never mind - the flaw was in how I was building the command to be executed by os.system. It's working fine now. -- http://mail.python.org/mailman/listinfo/python-list