The software on this pages will slowly be moved to GitHub https://github.com/hilbix/. The CVS repository will be migrated to GIT as well, so the history will be preserved, a bit. See FAQ.
The tools are developed under Linux with
ESR's paradigm
release early, release often
in mind.
So you can consider this beta software, or alpha, or pre-alpha, or even worse ;)
Have a look in the download directory for all downloads.
As always here, all you get is the source. No binaries here.
Manage a cache for file data (look into latest version, download latest version 0.0.1-20061115-052726)
Sometimes you want to cache some data onto a filesystem with a name which is not suitable for the filesystem. And you want the cache to grow such that it can contain any amount of information.
Filecache exactly allows to do this. Basic use is like follows:
name='*/\/\*../ %=?|%' file="`filecache out "$name"`" if [ -f "$file" ] then echo "found" else echo "new" readthefile "$name" > "$file" fi
Note that the result of filecache depends on the contents of out, so the name will change as soon as the cache changes. So never use softlinks to link to a cached file or save the name of the file anywhere. Always be sure to re-evaluate it through filecache.
version 0.0.1-20061115-052726download (141595 bytes) | Bugfix release. Still not completed version. Options -x and -l added. Demangling of names added. You must tell the cachedir if demangling filenames from the filesystem, else use option -e. Example: find out -type f -print | filecache -dxf out Demangling runs until the end of the name or the sequence '$.'. Latter is for extensions, as you perhaps like to store all JPG style files as someting.jpg or have several "backups" of a file, like done with `mvatom -b`. |
version 0.0.0-20061115-033558(140218 bytes archive) | First version. It does not work yet perfectly. Missing is the reordering of the cache in case too many files are present in a directory. However the name mangling works now as expected. |
License and Disclaimer
All you can see here is free software according to the GNU GPL. |