geonature.utils.filemanager
Module Contents
Functions
|
|
|
Delete all the files and directory inside a directory |
|
- geonature.utils.filemanager.delete_recursively(path_folder, period=1, excluded_files=[])[source]
Delete all the files and directory inside a directory which have been create before a certain period Paramters:
path_folder(string): path to the fomlder to delete period(integer): in days: delete the file older than this period exluded_files(list<string>): list of files to not delete