File system object manipulation (learner)

Scott Finnie scott at projtech.com
Wed May 16 14:06:57 EDT 2001


Remco, Malcolm, 

Thanks for the pointers.

 - scott.

Scott Finnie wrote:
> 
> Hi,
> 
> I'm looking to write some fairly noddy tools for synchronising files
> between two systems - as much as a learning exercise as anything else.
> 
> The Python core libs support file operations, but they deal with file
> contents; I need a higher level than that, and don't want to write a
> file copy in Python (too slow).  Shopping list as follows:
> 
> . list files in directory (ideally recursively)
> . copy file from one location to another
> . get file stats (date, time, size, - os.* call for this exists I think)
> . compare contents (e.g. generate MD5 checksums and compare?)
> . create/explode archives using standard formats (e.g. tar, (g)zip)
> . compress/uncompress files (would be nice).
> 
> I'm a bit unsure where best to turn for available modules: goals are
> ideally cross platform (win32+unix) although win32 is most important.
> 
> Thanks for any pointers,
> Scott.

-- 
--------------------------- BridgePoint UML -----------------------
Scott Finnie                             Tel:    +44 (0)8705 673056
Principal Consultant                     Fax:    +44 (0)8705 673057
Project Technology International Ltd.    Mobile: +44 (0)7776 228157
Kendon Business Centre                   
27 Miller Road                           scott.finnie at projtech.com   
Ayr KA7 2AX                              www.projtech.com
UK
-------------------- DesignPoint Model Compilers ------------------



More information about the Python-list mailing list