File reading function
#6

Use this, just wrote it, java rulez

Usage: download, unzip, use cmd to go to the folder you downloaded it to and run:

Код:
java LineRemover "full path to the directory" "start of the line to remove" "only short info=1/0"
(with the "", only 1 or 0 for the last param
it checks all files in the specified directory for lines starting with the specified string and removes them


BUGS ARE POSSIBLE, JUST WROTE IT IN A FEW MINUTES. SO COPY THE DIRECTORY FIRST AND USE THE PROGRAM ON THE COPY ONLY TO PREVENT LOSS OF DATA IF SOMETHING FAILS. I DO NOT GUARANTEE FOR BUGLESS FUNCTION.


So, i hope it helps you, pawn would be too slow to do this for thousands of files. You can only use this, if you have direct access to the files/server of course.
And at last: no problem if you do not need it/cant use it, i was just bored and wanted to code something with java again, and it might help someone else then

(no trojan, check my join date and posts if you do not trust me)
Reply


Messages In This Thread
File reading function - by wups - 30.09.2010, 14:14
Re: File reading function - by Scenario - 30.09.2010, 14:45
Re: File reading function - by wups - 30.09.2010, 14:50
Re: File reading function - by Scenario - 30.09.2010, 14:52
Re: File reading function - by wups - 30.09.2010, 14:53
Re: File reading function - by Mauzen - 30.09.2010, 15:54
Re: File reading function - by wups - 30.09.2010, 16:43
Re: File reading function - by Mauzen - 30.09.2010, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)