Scripts
From jeb
A few useful scripts and other tools are made available. They are completely unsupported and should be used with care. Perl scripts should be downloaded and renamed without the .txt suffix and set to be executable.
clones is a script to detect clones of a file. It will walk directories, calculating MD5 digests, print found clones and optionally remove those in the last directory (dirN) and the directory itself if empty. This version do not use temporary files and will eventually run out of memory on large directories.
% clones [-r|R] dir1 dir2 dir3 .... dirN
xmlupload.pl is a script to upload pages to Wikipedia. Options can be stores in a ini-file like xmlupload.ini, and data in a xml-lookalike komcat.xml. The script needs a clean up. This version will try to locate a ini-file (conf-file) in a sibling directory. Store the executable in a bin-directory and the ini-file in a directory named conf.
% bin/xmlupload --password password --username username --language language --file filename
The license of the scripts are in general the same as the website to be used for the site, although the content of the script should be checked.
Use of the scripts are again, completely unsupported and at your own risk.
|