Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 894 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 894 Bytes

old_file_dir_clean_up_from_list

made-with-python Python Versions

Features

  • 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

And..

  • 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.