recursively archiving files

bahoo b83503104 at yahoo.com
Mon Apr 9 17:38:12 EDT 2007


Hi,

Can I use python to recursively compress files under subdirectories
with a certain format such as "ABC_XXX_XXX.dat" into a .gz or .zip
file?  I used to do it with "tar" on unix, but I don't like to put
commands into a single line, as it is often more prone to error.

Thanks
bahoo




More information about the Python-list mailing list