Create a script in php to be run in a dayly cronjob that will go through the main folder and subfolders.
For each file verify the name and the date of the file IF ( the file name is in the pattern bd_log_*.txt ) AND ( the date of the file is older than today ) THEn compact in zip format and store the zip file in the same folder of the txt and delete the original txt file.
For testing purpose, you can use the attached zip file that has a folder tree with files.
your script should NOT change the following files file extension different that txt starting different than bd_log_, for instace, the file [login to view URL]
you will need to upload your code to bitbucket.
Hello,
I'm a PHP/Drupal/WordPress/Codeigniter/Laravel/Slim/Joomla Framework CERTIFIED EXPERT coder. And have a lot of experience with System admin + Html + Javascript + CSS + API integration
Relevant Skills and Experience
Please have a look at my Portfolio and client's feedback here for the projects completed.
https://www.freelancer.com/u/minhhoangduc.html?pvpReviewLink=true
Proposed Milestones
$30 USD - Final delivery
Please let me help you do it.
Best Regards,
Minh H
$30 USD in 1 day
4.9 (622 reviews)
8.3
8.3
12 freelancers are bidding on average $31 USD for this job
Hello. Can develop PHP script which ZIP files according rules you mentioned. Ready to start right now and deliver script in a couple of hours. Will upload code to bitbucket.
Relevant Skills and Experience
php
Proposed Milestones
$25 USD - project milestone
I can easily create a cron script which will do your provided task i need details contact me
Relevant Skills and Experience
i have 9 years experience in web development
Proposed Milestones
$25 USD - site