I need some more very minor changes to be made on the script. Currently there is a script that takes in an argument and deletes files/folders over 90 days old (in dryrun). Or whichever duration specified.
Extremely minor changes, but I just need someone to fix the method that ensures accurate file deletion. Currently the method that determines which files will be needed for deletion does not work properly and accidentally deletes files that are less than 90 days old.
Helllo,
the problem maybe because of "glob" because your are deleting all the files. because the date is not going to that function I believe. therefore it doesnt recognize the exact date. I did not look into everydetail but it is easily to be fixed. You can write me through chat.
Best
Hi there,
I see you need to make minor change in the code.
Basically you want the code will detect files older than 90days.
I downloaded the code and checked it.
It even does not check the time before deleting it.
Feel free to contact to me so that I can modify the code as you deserve.
Hope to see your response.
Best regards,
Nam
$30 USD in 1 day
5.0 (12 reviews)
5.0
5.0
5 freelancers are bidding on average $26 USD for this job
### Python, File deletion ###
Thank you for your attention.
I understood fully about your task.
I will do my best to satisfy your proposal.
First I will deliver the project result and after that I will require the budget.
Let's progress further to get the outstanding Results for you.
Please check my profile and past reviews.
Regards.