python
RTFM or just code: recursively compare directories and files in two paths
Submitted by jonhattan on Lun, 20/09/2010 - 11:53Recursively comparing directories and files in two provided paths is probably a common problem and for sure there's a solution out there.
bad. I didn't find (search for) one before coding my own solution. I just did search intensively for such a solution before writing this post (to avoid that comment saying something like: hey man it was solved twenty years back!). The simplest solution, using diff:
Only in /tmp/a/b: c
Only in /tmp/a/b/d: a.txt
Only in /tmp/b/b: y.txt
Files /tmp/a/x.txt and /tmp/b/x.txt differ
velhack: internals of Velneo (Velázquez Visual) project file
Submitted by jonhattan on Vie, 27/06/2008 - 11:18mysqlcharsetfixin.py
Submitted by jonhattan on Mar, 19/02/2008 - 20:06A script to fix the wrong characters in the tables of a mysql. It is based on a simple characters replacement table, ej:
-> á
It does not fix completely: it replaces all the characters I was aware of in a concrete site.
TODO:
* more on charsets, encoding and mysql
