Mkdir Regexp Filter v0 1 For Glftpd by QT
8 of 45 files
script
- Browsers may flag this download as unwanted or malicious. If unsure, scan it with VirusTotal.
-
Last modified Jan 21, 2022 3:52:04 AM
MD5 checksum 5254dec381740506112bdb1656f5b8bb
Mime type
Download Mkdir Regexp Filter v0 1 For Glftpd - Qt.zip
Size 6 kB
2008 October 19
- Zip - Script / Computer tool
2 items in the archive
- src.zip
- mkdir_filter_glftpd.nfo
Usage:
Filter, check the release that are raced on your glftpd site.
You can post check racer's rules, or simplify racer's work.
Siteops are exempted.
If you use pzs-ng sitebot, this will echo on your chan with TURGEN. (disable this in config.h)
-Unpack .rar
-Edit config.h and set variables
-Compile source
cd src/
gcc -o mkd_filter *.c
-Edit whitelist.conf and blacklist.conf, with standards regexp ( case insensitive )
whitelist.conf:
a set of regular expressions per section, each release must fit the regexp.
SERiES-US_HD:^(Dexter.S03).*720P.*x264.*$ (this one will allow Dexter only in section)
blacklist.conf:
a set of regular expressions per section, each release must not fit the regexp.
SERiES-US_HD:(PDTV|SDTV) (this one will deny PDTV and SDTV, if you got some problems with racers :p)
GLOBAL:^.*-(CRAPTEAM1|CRAPTEAM2|CRAPTEAM3)$
You need to let the GLOBAL entry (GLOBAL:^$, if there's no global ban on your site).
-Edit glftpd.conf
Add this line in glftpd.conf: cscript MKD pre /bin/mkd_filter
##############################################################################
# SECTION # KEYWORD DIRECTORY SEPARATE CREDITS #
##############################################################################
Add a line for each section:
stat_section SERiES-FR /site/SERiES-FR/ yes
stat_section SERiES-US /site/SERiES-US/ yes
stat_section SERiES-US_HD /site/SERiES-US_HD/ yes
Note: glftpd seems to be limited to 10 sections.
It's useful for second case. Most Auto script use first one.
1) MKD /SECTION/RLZ
-> MKD from root directory
2) CD /SECTION
MKD RLZ
-> MKD from directory (using env. vars)
chmod +x /glftpd/bin/mkd_filter
Qt TEAM