powered by
Delete config files older than a specific number of days
delete_old_config( base_dir, days = 30, config_file = "files_desc.yaml", confirm = TRUE, dry_run = FALSE, verbose = TRUE )
delete old config files from folder
base folder
number of days to check the age of files we want to delete
name of YAML files
With or without confirmation before deleting
Simulation
Display messages
delete_old_config("~/shinydrive/tests", days = 60, config_file = "files_desc.yaml")
Run the code above in your browser using DataLab