MEWBIES@:  Facebook  Twitter  G+  YouTube  DeviantArt  Forum  Wall
 SHARE:
    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
   ██                                                                       ██
  █▌            -   EXTRACT NFO FILES FROM A ZIP VIA SITE CMD   -            █▌
 █▌                                                                           █▌
 █                                                                            ▐▌
 █ Simple script so that users may extract the .nfo inside a zip file into    ▐▌
 █ the directory. I've altered sitezipchk.sh (from glFTPD) to create this.    ▐▌
 █ cmd will be: site nfox [file.zip]                                          ▐▌
 █                                                                            ▐▌
 █ SCRIPT TO EXTRACT NFO FROM A ZIP:                                          ▐▌
 █ `````````````````````````````````                                          ▐▌
 █ To use this download the script from HERE, or in your shell:               ▐▌
cd ~
wget http://mewbies.com/glftpd_scripts_mewbies/Extract.nfo.Files.Via.Site.cmd.for.glFTPd-MWB/mwbenfg1.zip
unzip mwbenfg1.zip -d ~/mwbenfg1 && cd mwbenfg1
su
cp nfo_extract.sh /jail/glftpd/bin/nfo_extract.sh
chmod 755 /jail/glftpd/bin/nfo_extract.sh
pico /jail/glftpd/etc/glftpd.conf
█ Add the site cmd and save changes: ▐▌ █ site_cmd NFOX EXEC /bin/nfo_extract.sh ▐▌ █ custom-nfox !8 * ▐▌ █ ▐▌ █ Test it; logout of your glFTPd, log back in: site nfox xxxxxxxx.zip ▐▌ █ ▐▌ █ ADD NEW CMD TO NEWS OR SITE HELP: ▐▌ █ SITE NEWS: ▐▌ █ pico /jail/glftpd/ftp-data/misc/newsfile ▐▌ █ ▐▌ █ SITE HELP: ▐▌ █ pico /jail/glftpd/ftp-data/help/site.help.all ▐▌ █ Paste this in (don't hit enter after the last line or there will be a gap):▐▌ █ !D!5 NFOX!B!5:!h!5 To extract an .nfo from a zip site nfox <filename.zip>▐▌ █ ▐▌ █ exit ▐▌ █ Clean up: ▐▌ █ cd ~ ▐▌ █ rm mwbenfg1 -rf ▐▌ █ ▐▌ █ //---------------------------------------------------------------------- ▐▌ █ ▐▌ █ If you find mistakes, have suggestions, and or questions please post at ▐▌ █ mewbies forum HERE - thank you. ▐▌ █ ▐▌ █ Last update on 19 Jul '10 ▐▌ █ ▐▌ █▌ █▌ █▌ - mewbies.com - █▌ █▌ █▌ ██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██