Scripts collection (2001-2006)
rc.virus.* : Procmail filters against frequent viruses.
Gallery2JPEG : Convert Gallery comments in JPEG comments.
Extr-attach : Extract attached files of mailboxes.
Weblog : Analyse website log files.
Phoebox AddOn : Configuration files for EPIC
AddTopics : Add topics to IRCStats
Localize : Transform a site in relatives URL.
Site : Site maintenance utility.
Scripts Shell : Other shell scripts.
Scripts
rc.virus.* : Procmail filters against frequent viruses. |
RP Soft 2003 – Procmail Mail/Netscape OpenSource |
Procmail rules to filter frequent viruses : BigBoss, SoBig, SoBer.(A, B et C).To use these rules, just put these two lines in you .procmailrc :
|
Download SoBig rules Download SoBer rules |
Gallery2JPEG : Convert Gallery comments in JPEG comments. |
RP Soft 2006 – PHP Misc/Gallery OpenSource |
This script will save your gallery items captions in the comment field of the JPEG files. It can search for files with the same filename in another tree structure, allowing to report easily comments in another backup tree structure.Launch the script from the commandline :
To process the whole gallery, I recommend :
Warning : absolutely no check is done ; you must absolutely know what you are doing, do backups, and not launch twice the script. |
Download gallery2jpeg.php (renamed). You will also need PEL 0.8 and PHP 5 |
Extr-attach : Extract attached files of mailboxes. |
RP Soft 2001 – Python Mail/Netscape OpenSource |
This script extract attched files of your mailboxes, reducing their size. You can so reduce the size of your mailboxes (up to by 10x) without loosing the content of a mail, and archive attached files (on a cd for instance).This python script accepts standart mailbox files (as mutt, Netscape, Thunderbird, but not Outlook Express). You must have python installed, and just run the script like that :extr-attach.py mailbox-file target-directory |
Download the script (unzip before use) |
Weblog : Analyse website log files |
RP Soft 2001 – PHP3 / Shell UNIX WEB / Log analysis OpenSource |
This script aims at viewing and tracking the use of your website by users (by example, if you want to see the list of users who viewed your cv, and then see what other pages the have consulted).This script lists the users and the pages, and link cross references. It is farily basic, by I have not found any other tool that did what I want.
To use this script, you must have common unix tools (sed, awk,…), have access to the web log, and have php. I suggest you to put the script in your crontab. |
Download the script (unzip before use) |
Configuration files for EPIC |
RP Soft 2001 – Script IRC EPIC IRC OpenSource |
These scripts customizes the excellent PhoeBox (for EPIC IRC Client) and add some stuff :
|
Download modified Phoebox |
Add Topics : Add topics to IRCStats |
RP Soft 2001 – Perl WEB / IRC OpenSource |
IRCStats is a usefull tool, that creates statistics from an irc log file. But it lacks a topic section. This script add this functionnality. This script needs two files : the IRC log file and the output file of IRCStats. It then adds 10 random topics. For more information, please see the first lines of the script. |
Download the script |
Localize : Transform a site in relatives URL |
RP Soft 2001 – Perl WEB OpenSource |
This script transforms absolute URL of a whole site in relative URL. This script was created to correct dwww, that stores its URL in absolute form. By leeching the contents of a dwww site, and running this script, you can now burn the contents, and browse it everywhere.For instructions about the use of this script, please see the first lines of this script. |
Download the script. |
Site : Site maintenance utility. |
RP Soft 2001 – Script WEB OpenSource |
This script should make website maintenance easier. Here are the feature list :
|
Download the script |
Other Shell Scripts
Here are very simple but usefull shell scripts. A small explaination about the use of the script is located at the beginning of the script :
- addtopics.sh : add topics to IRCStats (see the perl version)
- CleanPHP3 : Delete .php3~ and .html
- CompilePHP3 : Compile a php3 wesite to have a static version
- dos2unix : convert dos text files in unix files
- expand.sh : Convert tabs by spaces in all files
- rights : website utility : set the classical access rights.