User Tools

Site Tools


python:folder_cleaner

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
python:folder_cleaner [2016/02/03 06:51]
admin [Code]
python:folder_cleaner [2016/02/03 07:15] (current)
admin [Requirements]
Line 8: Line 8:
 The script should remove specific files from a designated folder, with consideration to creation time. The script should remove specific files from a designated folder, with consideration to creation time.
  
-In this specific example, it will remove .gz and .log files above a variable number of days (specified in command line).+In this specific example, it will remove ​//.gz// and //.log// files above a variable number of days (specified in command line)
 + 
 +A couple of options are available using constants within the script. These should be modified accordingly to your specific needs.
  
 //Note: This is a python 2.6 version due some client server constraints,​ but it can easily be upgraded to 3.X.// //Note: This is a python 2.6 version due some client server constraints,​ but it can easily be upgraded to 3.X.//
python/folder_cleaner.txt · Last modified: 2016/02/03 07:15 by admin