[CoD] custom mod moving script
Nathan Peters
natedog550 at hotmail.com
Wed Dec 31 11:51:39 EST 2003
hey everyone.....i have built some custom scripts that start, shutdown, and restart the mohaa server that i posted here that u could also edit to be used on CoD. some of u may have looked at it. Neways.......I am gonna try and make a mod moving script. So.....this script needs to read a directories contents......check to see if a certain file name is there. If it is then move it to a folder called "disabledMODS" or something like that. Then do just the opposite to put it back. Then i'll have it restart the server when it's done. I know how to do the mv command. But i don't know how to make it check for a file in a directory. Can anyone help me out? Thanks.
Nathan - A.K.A. [BASHYOU] SNiPeS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20031231/c3ec8aa1/attachment.htm>
More information about the Cod
mailing list