- Provides the ability to browse a specified directory to identify and delete outdated files, sub directories, etc.
- Create a file named "list.txt" in the following format, where each line represents a delimiter, the target directory, and the number of days old:
# vim list.txt
ssh_logs,/data/logs/ssh_logs,30
system_logs,/var/log,30
- Feel free to modify and customize the code as per your requirements.
- Please let me know if any changes are required or if additional features are needed.
- If you find this helpful, please consider giving it a "star"🌟 to support further improvements.