Simple PHP-file for renaming

Our HikVision webcams drop all webcam images in the root directory of a site. It also uses specific names for each imagefile consisting of the IP-number of the webcam and the snapshot time.

We would like to have a php-scipt that will run as a cron-job on the server. We want the script to look into the rootdirectory of the server every X seconds to look for newly uploaded files, rename the newest new file only to [NAME] and to move it to directory [DIREC] after that all imagefiles (normally one) with the long name in the root have to be deleted. The amount of files to be converted can be more than one. For me to define in the file:

- Based on prefix the new name of the file and of the directory to move it too. For example: so on will become PIC1 (which is the [NAME] variable) and will be moved to the IMAGES directory (which is the [DIREC] variable.

So as said more than one file are possible so if the script finds for example a file like so on it will be come PIC3 and also be moved to the directory called IMAGES. All of this of course it has been defined by me as such in the scriptfile.

The maximum budget available for this simple scriptfile is $. 25,-

The file will run as a Cron-job on the server.

Attached an image with the files one cam. In this case only the newest one (with the highest number behind the has to be converted, after that all so on files in the root will be deleted.

Skills: JavaScript, PHP

See more: look for job, look for cam, file cam, 192 168.1.1, renaming, ip cam, file renaming, php snapshot script, php image cron, php script rename files, rename uploaded file php, php server cron job, webcam script javascript, script cam, javascript variable php, budget webcam site, javascript rename file, javascript run php file, webcam file, move files php script

About the Employer:
( 28 reviews ) Amsterdam, Netherlands

Project ID: #6382478

Awarded to:


Hi, I checked your ftp dir png file I can do it now, in couple of hours, I will do it in php and then set to cronjob, waiting for your reply... Thanks, ES

$25 USD in 1 day
(16 Reviews)

8 freelancers are bidding on average $36 for this job


A proposal has not yet been provided

$30 USD in 1 day
(628 Reviews)

Hello, With 99% completion rate, 700 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page !!)... you can never go wron More

$54 USD in 1 day
(511 Reviews)

hi we could do it perfectly with accuracy, please let us know if you want any clarification. if you want us to share our skill and previous work please initiate the chat by replying..

$59 USD in 1 day
(76 Reviews)

Dear Hiring Manager, We are ready to work with you, We have 5+ years experience and have handed over number of projects,With an experience in the field of designing, our skillful team has gained huge amount of appre More

$40 USD in 1 day
(30 Reviews)

Hi, I read your description. before 3 hours, I just finished a job like this. If you give me only 1 hour, I'll finish this project. I have experienced projects exactly like this for 10+ years. Best regards. More

$25 USD in 1 day
(3 Reviews)

Sir, Though i am new here, i have 7+ years experience in [login to view URL] to work on your [login to view URL] can be done efficiently . waiting for your response with some more details about website to proceed further .I w More

$35 USD in 1 day
(8 Reviews)

Currently i'm working with any cron project, at least i have my own library / function to create or move file to any destination path. My always working area is PHP programming, Database Designing and System maintaini More

$25 USD in 3 days
(0 Reviews)

hi, I am very interested in your project,I read your requirement and understand it,and I can do it. I have time and experience to working in your project. you will get high work satisfaction because I need your good More

$20 USD in 1 day
(0 Reviews)