View Full Version : WarChive 1.x Questions/Answers
WarChive 0.9 win-version
0.9 changelog
Removed use of external programs. Now using technology from ioA
Added debugmode with logging
Other fixes
ok yet another rewrie of parts in this tool. Big thanks to Mouton for noticing the odd behaviour.
SomeoneWhoCares_2
09-10-2003, 02:51 AM
say i have
"c:\movie" /movie
"d:\movie" /movie
"e:\move" /movie
and i use warchive to move from c to d then d to e then wipe but its always moving the newest dir first so in the middle of my upload it starts copying over files to another drive.. then it becomes very messy.. any way to sort this problem? noticed it changes date modified on warcmove so now i have old dirs at the top of my dirlist if i sort by newest... is this something u could look into and possibly fix? :cool: thx for your nice work...
that it changes creationtime I have got report of but moving newest?? Never heard anyone say that. But I'll look at it as soon as I get the time
rAWfOX
11-11-2003, 06:22 PM
this script roxxor... thanx alot for giving me more freetime :D
Zer0Racer
11-11-2003, 06:38 PM
As you might know (B0unTy didn't hehe) WarChive announces work with dZSbot if you follow the intructions in warchive.cfg. Someone asked me if WarChive announces could work with ioBanana too. I helped him out a little and here is the solution for you other peeps. It's pretty easy and I guess some ppl already did this. But here goes... First open your warchive.cfg, ioBanana.tcl and the skin file you use with ioBanana ie. ioB_default.skin.
1. Add WARCWIPE WARCMOVE to the set msgtypes(RACE) line in ioBanana.tcl.
set msgtypes(RACE) "NEWDIR DELDIR WARN UPDATE NUKE UNNUKE REQUEST REQFILLED INVITE WIPE PRE NEWDATE IMDB BAN SERVICEFULL LIMITER MP3 OLDRLS APPROVED PRETIME SAMPLE COMPLETE-B COMPLETE-B1 USTATS-B GSTATS-B STATS HALFWAY HALFWAY1 RACE SFV 1STFILE CASINO CLOSE URL SLOWRACE SLOWRACEEND NFO NEWLEADER WARCWIPE WARCMOVE"
2. Add the set disable lines below the other set variables lines in ioBanana.tcl.
...
set disable(NEWLEADER) 0
set disable(WARCMOVE) 0
set disable(WARCWIPE) 0
3. Add the set variables lines below the other set variables lines in ioBanana.tcl.
...
set variables(NEWLEADER) "%pwd %release %username %group %mb %files %percent %speed"
set variables(WARCMOVE) "%release %relsize %oldvfs %newvfs %beforesize %aftersize"
set variables(WARCWIPE) "%release %relsize %oldvfs %beforesize %aftersize"
4. Add the set announce lines below the other set announce lines in your ioB_default.skin file (or what other skin you use). If you use sitename variable change %sitename to $ioss(sitename).
...
set announce(NEWLEADER) "-:: new race leader ::- %username@%group takes the lead on %pwd/%release with %files files \[%mbMB/%percent%/%speedkBps\]"
set announce(WARCMOVE) "-:: $ioss(sitename) ::- \[WarChive\] + Moved %oldvfs/%release (%relsizeMB) to %newvfs. Available space now: %aftersizeMB"
set announce(WARCWIPE) "-:: $ioss(sitename) ::- \[WarChive\] + Wiped %oldvfs/%release (%relsizeMB). Available space now: %aftersizeMB"
The set chanlist thingy is not needed since ioBanana already knows where to announce stuff.
All done!
Mavke
11-12-2003, 03:13 AM
WarChive - Features... in Future Versions?
I would like to address a issue I have on several sites now where I run ioFTPD + WarChive (reason I registered and donated to WarC).
I can only put the Delete functions in Place.
Why?
The PC has only one HD (200-250GB).
And the Config is done like :
D:\TVRIPS /TVRIPS
D:\ARCHiVE /TVRIPS/_ARCHiVE
D:\REQUEST /REQUEST
Would it be possible that the Archiving would work on how much directories (releases) there are in /TVRIPS
Example : max 25 releases (dirs) if 25 then move oldest 10 to _ARCHiVE ?
If that would be possible that would be great...
heya
Could someone give me a hint on how I Schedule Warchive? Ive tryed figure it out myself but I have no clue what I should do/type in the ini file.
rAWfOX
11-12-2003, 07:00 AM
Originally posted by odd
heya
Could someone give me a hint on how I Schedule Warchive? Ive tryed figure it out myself but I have no clue what I should do/type in the ini file.
WarChive = 0 1,3,5,7,9,11,13,15,17,19,21,23 * * EXEC ..\scripts\ioA\WarChive.exe
Edit by Zer0Racer: DO NOT use asterix (*) for the minutes setting in Scheduler! It will launch multiple instances of warchive since it might not complete move to archive in one minute so a new one is launched next minute... and so on.. This will most likely fuxxor with your system!
MaistroX
11-12-2003, 08:04 AM
or "better"
WarChive = 0,30 * * * EXEC ..\scripts\WarChive\WarChive.exe
;)
Ok ive added that to my ini and renamed to the right path. But Ive still got some problem to get it working. First would someone like to tell me what you guys posted really mean(the numbers Ex)? Be a little specific in a noob way :>
WarChive = 0 1,3,5,7,9,11,13,15,17,19,21,23 * * EXEC ..\scripts\ioA\WarChive.exe
Second, ive added line abow to the Schedule and edit the Warchive config to do this...
newdevice=0|8000|9300
device=0|c:\ftp2\1|d:\2|
And this will move a file from dir 1 to dir 2(wich is on another drive) if the space is below 8gb and move all files untill 9.3gb is free on c:\
Ive got other dirs in the vfs file but ive only testing one dir to see if this script works and how it works before ive add it to real ftp.
It has been an hour or 2 now and nothing has moved to dir 2. Ive filled dir 1 so it is 7gb left. If it had worked it should have moved any files to dir 2. But nothing.
Sorry for this noob question, im sure there is a simple solution that I havent discoverd. But would someone help me on the road?
if your config looks exacly as that it wont work. Syntax of the line states that you have 4 parameters.
newdevice=0|8000|9300 <-- this line is correct
device=0|c:\ftp2\1|d:\2| <-- this line misses two parameters.
Should look something like this
device=0|c:\ftp2\1|d:\2|/vfs_from|/vfs_to
Oh man that was some nasty shit! Hehe it worked greate for a while. After some 15min when ive walked back the the computer to check it out, it was really useing up all resources on my computer so it was laggy and stuff like that. Dunno what ive done wrong but warchive.exe had started itself 10 times or something that I had to shut down to bring the computer back to normal life :)
But It transfered 2 x 700mb dirs to the right location so I think that It worked from the begining but then after a while something happend becuase of all the used up resources. In the Warchive log every movie was added to the move list so the required free space would be reach. I think the problem could be that I had to many files in my test.
There is another strange thing. Many of the dirs was in 50x15mb files and warchive had started to delete some files in some Dirs. But if I look in the Dir2 where they should have been moved there are nothing there. Well something got real fockedAp. But it was only a test so nothing importent was lost. Gona give this a try again soon.
my guess is that you scheduled it so it started multiple times starting to move around same things. try run it once from commandprompt. if it works then as it should the problem is elsewhere
Yep your right. Tested to run it from commandpromt and it started to move file from ftp2 -> dir2 and it worked perfect.
But somehow the scheadule is not configured the right way. So my question is how I set it up to work better then before.
Iam still wondering what all these numbers means that ive wrote in my scheadule in the ini file.
WarChive = 0 1,3,5,7,9,11,13,15,17,19,21,23 * * EXEC ..\scripts\ioA\WarChive.exe
And why it moved so many copys of the same file before was that ive had like 7 warchive.exe that was moveing same files at the same time. So something is not configured the right way. What ive notice when playing around in the commandpromt was that there only needs one warchive.exe to be run because it handles all files that needs to be moved to the desire free space. Nice script, just need it to run normal first.
Btw how long does it take for you guys to move a file around 700mb ? My takes 2 min - 2.5 min. But thats nothing.
EDIT: Never mind on those numbers. Ive figure it out stupied me.
wooolF[RM]
11-21-2003, 10:28 PM
uhm... configged WarChive here, followed Zer0Racer's guide for announcing on IRC...
Results:
1) WarChive doesn't work from scheduler ( warchive = 1,11,21,31,41,51 * * * EXEC ..\scripts\warchive.exe )
2) WarChive works from DOS window ( C:\ioFTPD\scripts>warchive.exe )
Then I get output like this- WarChive 0.9 ------------------------------------------------
- Deleting nukes ---------------------------------------
Deleting: f:\wi\BLA3\[Nuked]-bla1.bla2.bla3
!putlog WARCWIPE: "[Nuked]-bla1.bla2.bla3" "0" "/BLA3" "912" "912"
--------------------------------------------------------
Deleting: bla1.bla2.bla4
!putlog WARCWIPE: "bla1.bla2.bla4" "155" "/BLA4" "912" "1067"
Deleting: bla1.bla2.bla5
!putlog WARCWIPE: "bla1.bla2.bla5" "189" "/BLA4" "1067" "1256"
Deleting: bla1.bla2.bla6
!putlog WARCWIPE: "bla1.bla2.bla6" "13" "/BLA4" "1256" "1269"
Deleting: bla1.bla2.bla7
!putlog WARCWIPE: "bla1.bla2.bla7" "649" "/BLA4" "1269" "1918"
Deleting: bla1.bla2.bla8
!putlog WARCWIPE: "bla1.bla2.bla8" "714" "/BLA4" "1918" "2632"
Enough space free on device
---------------------------------------------------------------Well... it did worked kinda... :rolleyes: here's my cfg (part of it):
newdevice=0|1500|2500
device=0|f:\wi\BLA1|NULL|/BLA1|NULL
device=0|f:\wi\BLA2|NULL|/BLA2|NULL
device=0|f:\wi\BLA3|NULL|/BLA3|NULL
device=0|f:\wi\BLA4|NULL|/BLA4|NULL
device=0|f:\wi\BLA5|NULL|/BLA5|NULL
device=1|d:\wi\BLA6|NULL|/BLA6|NULL
As you see, folders BLA1 to BLA5 are all under same HDD, so when WarChive goes deleting stuff, it deletes as much as it can only from BLA4 folder... (still can't figure why from BLA4 folder and not from BLA1? maybe because really my BLA4 folder begins with an "A"?) Ok, so next time when I hit the limit, it'll delete some more stuff from BLA4 folder until it's empty (even if there is some really new stuf in it)...
I'm kinda lost... also I'm not talking about IRC announcements at all right now, I'm more interested in getting this utilitie to work...
The log format that I use in warchive.exe is default one:
warcwipe="%release" "%relsize" "%oldvfs" "%beforesize" "%aftersize"
Prolly it's not 100% compatible with new ioBanana 19? or ... damn I'm lost :x
btw, yes, I do use debug (set to 2) so if anyone interested in the log, pls msg me on IRC or send your mail in pm, I would really apreciate any help, thnx :)
Regards
wooolF[RM]
11-24-2003, 08:33 PM
k, I had some probs with the cfg, so here's the edited one:
newdevice=0|1500|2500
device=0|f:\wi\BLA1|NULL|/BLA1|NULL
device=0|f:\wi\BLA2|NULL|/BLA2|NULL
device=0|f:\wi\BLA3|NULL|/BLA3|NULL
device=0|f:\wi\BLA4|NULL|/BLA4|NULL
device=0|f:\wi\BLA5|NULL|/BLA5|NULL
newdevice=0|1500|2500 <- missed that line before
device=1|d:\wi\BLA6|NULL|/BLA6|NULL
seems now it's working correctly, deleting some stuff (wiping)
as said earlier settings in my warchive.cfg for loggin' is like this:
warcwipe="%release" "%relsize" "%oldvfs" "%beforesize" "%aftersize"
(now I don't pasted warmove as I wont use it anyway)
I did edited my ioBanana 19 as Zer0Racer described in his tutorial, but all I get on IRC is some output like:
[ 02:15:30 ] _[ @XXX ] 1177
[ 02:15:31 ] _[ @XXX ] 1446
don't ask me what those numbers mean, I don't know
Anyone have some ideas? :confused:
Help apreciatted
Mouton
11-24-2003, 09:25 PM
What's your ioB set variables(WARCMOVE) and WARCWIPE (or similar) ?
wooolF[RM]
11-24-2003, 10:47 PM
as said I followed the tut by Zer0Racer
here's copy&paste directly from ioBanana.tcl:
set variables(WARCMOVE) "%release %relsize %oldvfs %newvfs %beforesize %aftersize"
set variables(WARCWIPE) "%release %relsize %oldvfs %beforesize %aftersize"
Mouton
11-25-2003, 12:13 PM
if it only shows the first variable, it's because u didn't add WARCMOVE and WARCWIPE to the list of valid msgtypes... thus the default variables definition is used.
wooolF[RM]
11-25-2003, 01:47 PM
Originally posted by Mouton
if it only shows the first variable, it's because u didn't add WARCMOVE and WARCWIPE to the list of valid msgtypes... thus the default variables definition is used. opening ioBanana.tcl:
## set to 1 to disable display
set disable(WARCMOVE) 0
set disable(WARCWIPE) 0## Modified dzs-bot for ioBanana announces
set msgtypes(RACE) "NEWDIR DELDIR WARN UPDATE NUKE UNNUKE REQUEST REQFILLED INVITE WIPE PRE NEWDATE IMDB BAN SERVICEFULL LIMITER MP3 OLDRLS APPROVED PRETIME SAMPLE COMPLETE-B COMPLETE-B1 USTATS-B GSTATS-B STATS HALFWAY HALFWAY1 RACE SFV 1STFILE CASINO CLOSE URL SLOWRACE SLOWRACEEND NFO NEWLEADER WARCWIPE WARCMOVE"
... skipped...
set variables(WARCMOVE) "%release %relsize %oldvfs %newvfs %beforesize %aftersize"
set variables(WARCWIPE) "%release %relsize %oldvfs %beforesize %aftersize"opening ioB_default.skin:set announce(WARCMOVE) "-:[b]:[b] $ioss(sitename) [b]:[b]:- \[CleanUp\] + Moved %oldvfs/[b]%release[b] (%relsizeMB) to %newvfs. Available space now: %aftersizeMB"
set announce(WARCWIPE) "-:[b]:[b] $ioss(sitename) [b]:[b]:- \[CleanUp\] + Wiped %oldvfs/[b]%release[b] (%relsizeMB). Available space now: [b]%aftersizeMB[b]"
wooolF[RM]
11-25-2003, 01:55 PM
[ 21:05:28 ] _[ @XXX ] 1058
[ 21:05:29 ] _[ @XXX ] 204
same crap :mad: :( :confused:
wooolF[RM]
11-25-2003, 03:59 PM
problem fixed after help from Mouton on IRC, all of my settings were right, adding extra line with putlog into ioBanana.tcl helped... nobody knows why but still, it worked, weird >_<
SomeoneWhoCares_2
11-28-2003, 10:09 AM
[LOW SPACE] + Wiped /DVDR/.... (-3MB). Available space now: -1333981183MB
:confused: :confused: :confused: :confused:
warchive wiped about 50GB of stuff on me when space wasnt even below what i had set it to before it starts wiping things.. whats going on?
wooolF[RM]
11-28-2003, 09:46 PM
O.O :eek: that's all I have to say
Tks 4 yer script Warc
Working great here :) Except the announce with dZSbot 1.03
My dzsbot settings:
set msgtypes(DEFAULT) "INVITE LOGIN LOGOUT REQUEST REQFILLED REQDEL GIVE TAKE WARCWIPE WARCMOVE"
set chanlist(WELCOME) "#dudu"
set chanlist(WARCWIPE) "#dudu"
set disable(NFO) 0
set disable(WARCMOVE) 0
set disable(WARCWIPE) 0
set variables(DEFAULT) "%pf %msg"
set variables(WARCMOVE) "%release %relsize %oldvfs %newvfs %beforesize %aftersize"
set variables(WARCWIPE) "%release %relsize %oldvfs %beforesize %aftersize"
set announce(UPTIME) "-%sitename- \[UPTIME\] + %taskname started @ %EUdate %time, running for %dayd %hourh %minm %secs"
set announce(WARCMOVE) "-%sitename- \[WarChive\] + Moved %oldvfs/%release (%relsizeMB) to %newvfs. Available space now: %aftersizeMB"
set announce(WARCWIPE) "-%sitename- \[WarChive\] + Wiped %oldvfs/%release (%relsizeMB). Available space now: %aftersizeMB"
someonewhocares. then you must have done some real strange config since it automaticly aborts if deleting more than 5 thingys.
Give me info on how to reproduce and I'll check on it.
SomeoneWhoCares_2
11-30-2003, 02:08 AM
config looks like
newdevice=0|2000|5000
device=0|C:\24.hour.evalution.dumpspot\MP3|NULL|/MP3|NULL
device=0|C:\24.hour.evalution.dumpspot\VCD|NULL|/VCD|NULL
device=0|C:\24.hour.evalution.dumpspot\SVCD|NULL|/SVCD|NULL
device=0|C:\24.hour.evalution.dumpspot\UTiL|NULL|/UTiL|NULL
device=0|C:\24.hour.evalution.dumpspot\DVDR|NULL|/DVDR|NULL
device=0|C:\24.hour.evalution.dumpspot\XviD|NULL|/XviD|NULL
device=0|C:\24.hour.evalution.dumpspot\TV|NULL|/TV|NULL
using same config never had any problems before.. so not sure if u would be able to reproduce anything , just wondering how it gets this negative disk space :confused:
hmm odd. I'll have to check it after I'm done with other scripts
Bitboy_2
12-14-2003, 05:14 PM
Originally posted by dudu
Tks 4 yer script Warc
Working great here :) Except the announce with dZSbot 1.03
My dzsbot settings:
set msgtypes(DEFAULT) "INVITE LOGIN LOGOUT REQUEST REQFILLED REQDEL GIVE TAKE WARCWIPE WARCMOVE"
set chanlist(WELCOME) "#dudu"
set chanlist(WARCWIPE) "#dudu"
set disable(NFO) 0
set disable(WARCMOVE) 0
set disable(WARCWIPE) 0
set variables(DEFAULT) "%pf %msg"
set variables(WARCMOVE) "%release %relsize %oldvfs %newvfs %beforesize %aftersize"
set variables(WARCWIPE) "%release %relsize %oldvfs %beforesize %aftersize"
set announce(UPTIME) "-%sitename- \[UPTIME\] + %taskname started @ %EUdate %time, running for %dayd %hourh %minm %secs"
set announce(WARCMOVE) "-%sitename- \[WarChive\] + Moved %oldvfs/%release (%relsizeMB) to %newvfs. Available space now: %aftersizeMB"
set announce(WARCWIPE) "-%sitename- \[WarChive\] + Wiped %oldvfs/%release (%relsizeMB). Available space now: %aftersizeMB"
I've the same problem :\ .... script moves the dir but announce on irc doesnt work. I use dZSbot 1.04 .
Bitboy_2
12-14-2003, 06:56 PM
Issue solved :)
Zer0Racer
12-15-2003, 04:46 PM
Always... ALWAYS share solutions. That's an order! ;)
bounty
12-15-2003, 06:04 PM
in next dzsbot release: warchive 0.9 settings will be added in dzsbot config
have fun
bounty
Bitboy_2
12-16-2003, 05:22 AM
Originally posted by Zer0Racer
Always... ALWAYS share solutions. That's an order! ;)
Simply running warchive from commandprompt it's not possible to write warchive activity into ioftpd.log and so dzsbot cannot read any variable ...
it works only from scheduler.
Zer0Racer
12-16-2003, 09:04 AM
Originally posted by Bitboy
Simply running warchive from commandprompt it's not possible to write warchive activity into ioftpd.ini and so dzsbot cannot read any variable ...
it works only from scheduler.
...or if triggered manually inside ioFTPD.
MaZza_Dj
01-21-2004, 12:43 PM
excuse me this is my situation
1° hdd 250GB
2° hdd 250GB
i want move from 1° hdd in PRE/GROUP1/ folder to 2° hdd in ARCHIVE/GROUP1....
i have make this setup
newdevice=0|3000|7000
device=0|E:\0-Day\FTP\PRE\GROUP1\PREATE|J:\0-Day\FTP\ARCHIVE\GROUP1-RLS|/PRE/GROUP1/PREATE|/ARCHIVE/GROUP1-RLS
device=0|E:\0-Day\FTP\PRE\GROUP2\PREATE|J:\0-Day\FTP\ARCHIVE\GROUP2-RLS|/PRE/GROUP2/PREATE|/ARCHIVE/GROUP2-RLS
but tell me this mess
[18.32.53] 200-- WarChive 0.9 ------------------------------------------------
[18.32.53] 200-Enough space free on device
[18.32.53] 200-
[18.32.53] 200----------------------------------------------------------------
[18.32.53] 200 Command successful.
why?
Zer0Racer
01-21-2004, 12:54 PM
WarChive only wipes/moves things if the device has too little free space left.
MaZza_Dj
01-21-2004, 02:33 PM
excuse me but i don't have undestand
i have need to move MP3...not more big
what is the problem?
what i can change?
Zer0Racer
01-24-2004, 05:37 PM
Important: DO NOT use asterix (*) for the minutes setting in Scheduler! It will launch multiple instances of warchive since it might not complete move to archive in one minute so a new one is launched next minute... and so on.. This will most likely fuxxor with your system!
Originally posted by wooolF[RM]
Results:
1) WarChive doesn't work from scheduler ( warchive = 1,11,21,31,41,51 * * * EXEC ..\scripts\warchive.exe )
The same could even happen here if it takes more than 10 minutes to move something to archive. Should be OK though if only configured to wipe old stuff.
Correct Zer0. Most problems that have been reported to me is due to people run it every minute. Thats not good at all if it start moving same release x number of times. It gets ****ed :)
Warchive is going for a bugcheck/rewrite of some parts in near future to handle different parts that could cause problems.
wooolF[RM]
01-27-2004, 10:37 AM
Warchive = 1,6,11,16,21,26,31,36,41,46,51,56 * * * EXEC C:\ioFTPD\scripts\warchive.exe
using here for wiping stuff, works flawessly
New version out. 1.0!! @ http://warc.mine.nu
wooolF[RM]
02-06-2004, 08:40 PM
thnx for upgrade ;) great job and thnx for the limit setting :)
Version 1.1 is out!
Added support for laShan ioReserve
Fixed bug with * in ignore lines
St0rm
03-11-2004, 12:03 PM
Wiped /DVDR/XXXXXXX (450.00MB). Available space now: 9135.00MB Seems like it doesn't get the correct size on big releases (the one I quoted was about 4.6gb).
Hiya WarC
I get plenty of this.
Program-popup: warchive.exe - Programfel : Instruktionen på "0x0040a7a0" refererade till minnet på "0x00000000". Det gick inte att utföra en minnesåtgärd. Följande fel returnerades: The memory could not be "read".
My guess is that you configured something wrong that I didnt think of adding a "you ****ed up" :)
Bitboy_2
03-21-2004, 04:11 AM
I've a problem with the bot announces... warchive doesnt write its activity in the ioftpd.log file so the bot can't read from it...
Is it only an issue of mine? :D
If you're running it from outside ioFTPD or its scheduler it wont log anything. If running as sitecommand and it times out nothing will be logged either.
You can always check how it would log by running it from a commandline. This would show if there are any errors as well.
wooolF[RM]
03-22-2004, 01:57 PM
thnx for the upgrades as always :) keep up the great work WarC :)
St0rm
03-24-2004, 05:26 PM
It overflowed again, while wiping a 2 disk DVDR :D Oh well, that's a 1-in-a-lifetime anyway.
Hmm thats odd I had it wipe 15gb here just to be sure. Oh well I'll check again then if its somewhere else the problem is
WarC nice work with WarChive...
... but i was wondering how 'interesting' it was if you're script instead of archiving an whole section, why wouldnt it archive just some releases of that section.
Like just archive a certain -group releases, defined before on the config file. :)
Released a new version of Warchive.
Its more of a internal remake and more debug added for those that got problems. Upgrade if wanted :p
djrob
06-13-2004, 10:56 AM
Originally posted by Bitboy
I've a problem with the bot announces... warchive doesnt write its activity in the ioftpd.log file so the bot can't read from it...
Is it only an issue of mine? :D
No, you're not alone. I have the exact same problem and can't figure out how to fix it :(
Edit: It works perfectly though with moving and deleting. It just doesn't log or announce anything
ko0ky_2
09-25-2004, 12:34 PM
I have a quick question.. here's my config.
newdevice=0|3000|7000
device=0|C:\root\dir1|I:\root\OLD_1|OLDER_di1|/dir1|/extra/archive1/OLDER_dir1
device=0|C:\root\dir2|I:\root\OLD_2\OLDER_di2|/dir2|/extra/archive1/OLDER_dir2
seeing how those both are on the same drive, safe to assume only dir1 will have files moved out? If during the schedule the hdd space is low, it will first clean up dir1, and keep cleaning until enough hdd free, then move on to dir2, but now there is already enough free space so it will just skip it. This is what I DON'T want to happen, is there something I am overlooking here?
Thanks in advance.
the way it works is that it checks for OLDEST directory in both dir1 AND dir2 and then moves to setup dirs
neoxed
10-13-2004, 06:05 PM
WarC, could you possibly add support for date cookies (%y, %Y, %m, etc.) in the 'to' and 'from' config paths? The archive directories I use are dated for organization, i.e. Archive.%Y.%m.
Thanks :)
Coffee
11-06-2004, 04:40 AM
Lo, nice script works good
Only thing i have a problem with, is how to set it up for the next problem.
I have tv shows. Each show in its own directory.
Like:
/TV/Friends/
/TV/CSI/
etc
Is it possible to setup warchive to delete only the oldest shows in each dir?
How i have to do that then?
Cause if i add it now it will delete a whole serie i think.
greetz
I dont think its possible to that atm.
you want it to delete the oldest episode from any show or just from specific? my guess is that all are on same drive so it should check in all dirs and then delete oldest episode
Coffee
11-07-2004, 10:31 AM
yup. all or 1 drive, and should check all dirs and deletes oldest eps till enough space is reached
Anyway to implement it?
greetz
I'll give it a thought. not promising anything.
Coffee
11-07-2004, 04:08 PM
thx already, hope you can work some out. Prolly more people can find a use for it :D
greetz
1.4 is out
Fixed ioReservesupport for users not using *nix files
Added support for * in paths. See configexamples
Added support for %M %W %D %Y in targetpath when moving. (Requested and added)
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.