Find Jobs
Hire Freelancers

create a php script to read text file , sort folder and zip up

$10-30 USD

Cancelled
Posted over 8 years ago

$10-30 USD

Paid on delivery
I want to create a php script that will do the following A) loop through all the subfolders inside unsorted_nfo to look for a text file with the extension "nfo" and search for a particular string by reading it B) move all the files and folders it to another higher level folder that has the matching GENRE directory C) Zip up the folder and delete the original source. The zip file name must be the same as the directory name that holds the nfo file ===================== Example of NFO that the php script needs to search for ===================== GENRE......: Metal GENRE .. TRANCE GENRE .. HOUSE Etc ============================ Example of the directory structure ================================== unsorted_nfo This is where all the folders which contain nfo and its files are stored. sorted nfo Subfolder : METAL *move and zip the entire folder here based on the matching string. Delete directory after zipping Subfolder : TRANCE *move the entire folder here based on the matching string. Delete directory after zipping Subfolder : House *move the entire folder here based on the matching string Subfolder : NOGENRE *Move the entire folder here if there is no GENRE string at all [login to view URL] (this is the file that does the entire thing) ================================= Notes 1) If there is no matching GENRE string move the entire folder to a sub folder called NOGENRE and proceed to zip up and delete the folder. 2) Sometimes the words within GENRE might have extra dots or blank space. So you need to allow me to specify somewhere in the php file which folder they should go to. 3) Create a file which will update everytime it finds the string GENRE **** If the string is already there, do not update it. This is for me to monitor all the diffeerent variations of GENRE***** 4) I have uploaded a sample of the directory structure for you to look at NOTE : i have a lot of projects for you to work on. so this is just the first project.
Project ID: 8392907

About the project

10 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average $33 USD for this job
User Avatar
Lets start...Lets start...Lets start...Lets start...Lets start...Lets start...Lets start...Lets start...Lets start...Lets start...
$10 USD in 1 day
5.0 (96 reviews)
5.5
5.5
User Avatar
Dear sir, I will complete your project asap, LIFETIME error free guarantee and provide ONE YEAR support... I have gone through your outsourced requirement "create a php script to read text file , sort folder and zip up" and have analysed that I have right credentials (PHP) to execute your esteemed project. You will never go wrong choosing me :)
$23 USD in 1 day
5.0 (46 reviews)
5.0
5.0
User Avatar
A proposal has not yet been provided
$34 USD in 0 day
5.0 (9 reviews)
3.2
3.2
User Avatar
Hello Sir, I understand your requirements,I'm Senior Developer. I've over 9 years of experience in Analysis, Design and Development of various Websites, Web Applications. Please come over Skype for more discussion. Skills: PHP,MySql, HTML5, CSS3Javascript, Jquery, Responsive,SEO friendly. Looking Ahead to work for you and Have long work Relationship, Kind Regards.
$30 USD in 3 days
5.0 (2 reviews)
2.4
2.4
User Avatar
Hello I would like to do this project for you! Call me in chat to be able to talk more about it and negotiate values. I await your contact , thank you for your attention.
$10 USD in 0 day
5.0 (2 reviews)
1.3
1.3
User Avatar
Thank you for your posting. This project is very interesting for me. I can help you to complete this project as soon as possible. I have rich experiences for PHP programming in several years. If you hire me, I'll do my best for this project. Best regard.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello sir, I am software engineer and I have 3 year of development experience. I can do the task you told. PM me for further detail. Thanks.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have experience in scripting, working with regex and php, and I would be very happy to work for you.
$25 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SINGAPORE
Jakarta, Singapore
4.9
80
Payment method verified
Member since Jul 13, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.