Python FolderYearMonthSorter

Purpose Scan –inputFolder, identify all the content of the files within the input folder by year and month, and copy them into –outputFolder with files grouped not by existing subfolder, but by year & months subfolders.  If –testMode flag is specified, it will not perform an actual copy, but instead will only output action to be performed…


Generic Python XML-RPC CLI Client (With apache extension support)

This code snippet is a generic python xml-rpc client that supports custom extensions. This is tested with pytnon 2.6 – usage is as follow: Interactive mode

Oneliner mode You can invoke the client as a one-liner, by passing the xmlrpc function to be called using the –cmd option. Like so:

Which is quite…