curaga and juanito,
Some of my configuration directories restored from mydata.tgz quickly accumulate extraneous files while the system is running (~/.mozilla and ~/.thunderbird are notorious in this regard).
Because of how tar works, running filetool.sh -r does not get rid of the extraneous files. Therefore, if I want to restore my configuration directories to their pristine state (as found in mydata.tgz) after the system has been running for a while, I have to manually delete a bunch of directories and only then run filetool.sh -r . This is inconvenient.
Therefore, I created a patch for /usr/bin/filetool.sh (see attached) that adds a -z flag to delete ("zero out") all items listed in /opt/.filetool.lst. Now running filetool.sh -zr does exactly what I need.
I hope the patch is useful.
[EDIT]: Patch removed. Safer patches are attached in later posts. Rich