[Freeciv] .sav file cleanup script
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The 'saveturns' option in civserver is of limited use. Attached is
a Perl script I use to clean out my .sav files. The command
civgame-clean -10
deletes all civgame-*.sav files in the current directory, except
+ the one with the latest modification date
+ the ones that would have been saved with saveturns set to 10
It's even possible to run civserver with saveturns set to 1 while the
script cleans up automatically. For instructions, use
civgame-clean -h
--
Reinier Post rp@xxxxxxxxxx
civgame-clean
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv] .sav file cleanup script,
Reinier Post <=
|
|