LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Automatic SFV checking (https://www.linuxquestions.org/questions/linux-general-1/automatic-sfv-checking-28299/)

smurf 08-19-2002 07:49 PM

Automatic SFV checking
 
Hi all :)

Is there a way of monitoring certain folders activity, so if a ".sfv" file is dumped, then it is checked and any bad files are labeled as "*.bad" and upon successful completion a file is created saying something along the lines of "26 files checked. Total files 26 : 100% Complete"

Thnx all

:D :) :D

unSpawn 08-20-2002 04:43 AM

Yes. it's called scripting.
First you need a function that checks a dir for the sfv's existance, if its there make sure all the par and archive files are in the dir, and run a par checker and direct the output to a tempfile. From the tempfile you get the total files, rename and count the bad files for percentage and direct the output to the message.

smurf 08-20-2002 04:57 AM

Thnx for the info unSpawn :)

I dont suppose you have a good website for me to start with. I have only ever wrote .bat scripts and coded in windows delphi. so i kinda feel lost in linux

:)


All times are GMT -5. The time now is 11:25 PM.