ANN : filestruct and splitter

Fuzzyman michael at foord.net
Mon Jun 7 04:33:18 EDT 2004


filestruct

filestruct is both a command line tool and a library of functions
(well - a couple of classes really).

http://www.voidspace.org.uk/atlantibots/pythonutils.html#fsdm

As a command line tool it will do 'remote-directory syncs'. It will
profile a directory, then reprofile and record all changes into a
single zip file. It can then use that zip file to make the same set of
changes on a remote copy of the file structure. Useful when you
maintain two copies of the same file structure in different locations.
(I work on various projects at home and at work).

As a library of functions it has the ability to profile file
structures producing a directory object - DirObj. This can  write out
the description as a markup language (FSDM - file structure
description markup), and read it in to recreate the DirObj. It can
then compare this with the current state of the file structure. This
could also be the basis of, for example, an incremental archive,
version control system etc In fact anything where changes to a file
system need to be monitored. Full docs of course....


Splitter 
http://www.voidspace.org.uk/atlantibots/pythonutils.html#splitter

This is a piece of code that has been written various times by many
people - but dammit python makes this kind of hacking so much fun !
It's a simple class that can split files and recombine them
automatically, with various attributes to control how it does it.


Regards,

Fuzzyman


-- 

http://www.Voidspace.org.uk The Place where headspace meets
cyberspace. Online resource site - covering science, technology,
computing, cyberpunk, psychology, spirituality, fiction and more.
---
http://www.fuchsiashockz.co.uk  
http://groups.yahoo.com/group/void-shockz
---

Everyone has talent. What is rare is the courage to follow talent
to the dark place where it leads. -Erica Jong
Ambition is a poor excuse for not having sense enough to be lazy.
        -Milan Kundera



More information about the Python-list mailing list