Hello!
Is there a ready to use module for file rotation?
I need to save a file to a folder. If the file exists, he should rename the file to file.cfg.0 and save the new file with file.cfg
When again a file saved, he should rename the file.cfg to file.cfg.1 and save the new file as file.cfg
I know I can program this kind of function, but maybe there is a module to use?
Thank you!
Is there a ready to use module for file rotation?
I need to save a file to a folder. If the file exists, he should rename the file to file.cfg.0 and save the new file with file.cfg
When again a file saved, he should rename the file.cfg to file.cfg.1 and save the new file as file.cfg
I know I can program this kind of function, but maybe there is a module to use?
Thank you!