View Full Version : autounrar+autodel rar files after a complete upload
Is this possible to do a script to unrar files when a upload is completed (with SFV checking) automatically?
And after, delete all rar files when unrar is completed always automatically. :cool:
I know ioZS can unrar files when upload is completed but he don't delete these rar files. :D
Anyone ready to script it ? :P
rAWfOX
01-22-2004, 06:11 AM
i think u can do it with a simple .bat file..
wooolF[RM]
01-22-2004, 12:17 PM
I dunno about ioZS, but ioBanana can unrar for sure, u just execute a command... u could as well del files later on if u add "| cmd_here"
I think winrar have a switch to del source files after it was successfully extracted. Just run winrar (dos one) in dos prompt and ull get all possible switches
NorLan
01-22-2004, 05:45 PM
hi
this is the way i do it
i copied the unrar.exe from winrar to scripts
then i made a unrar.bat with these lines
@echo off
echo !buffer off
md %path%\Extracted-"%date%"
start e:\ioFTPD\scripts\hiderun.exe e:\ioFTPD\scripts\unrar.exe e -y %path%\*.rar %path%\Extracted-"%date%"\
well - the hiderun.exe is just to hide the task it is not necessary .. drawback is you don't see how long the extracting process needs .. if you want to see this
just type in e:\ioFTPD\scripts\unrar.exe e -y %path%\*.rar %path%\Extracted-"%date%"\ without the start and the hiderun
all you have to do now is to start this bat after downloadcomplete or on your own with the site command etc...
with this you get a dir like Extracted-"date" within your release folder which includes the extracted files. very usefull when the original release is downloaded from others - they just skip all folder with the string "extracted"
-- never tried it with releases which are zipped but i think this could also be managed with some modifications...
wooolF[RM]
01-22-2004, 08:58 PM
I'm not 100% sure but does ioFTPD still "work" as it should when finished release is getting unarchived? or it's just hanging waiting until that bat file is done?
not cause I need it, just wondering :D
NorLan
01-23-2004, 03:04 AM
io isn't hanging if you use start hiderun ...
io just starts a new process - unrar
i use this for those who want the unrared release
they but a file skip *.r* so they wont load the rars.
it is just a service cause many user want this feature - the sence is ?hmmmmm?
wooolF[RM]
01-23-2004, 10:56 AM
yeh, weird people :D
thnx for the answer :)
when I've asked u that question I kinda thought u needed exit 0 at the end of the bat... but if u say it works 100% :)
hello is possible sends me hiderun.exe
wooolF[RM]
02-02-2004, 10:31 AM
next time try teh powerfull thingy called Google (http://www.google.com)
autounrar is perfect ..
is possible delete all rar files when unrar is completed always automatically ?
thx
wooolF[RM]
02-03-2004, 09:59 AM
read 3rd post in this thread...
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.