PHP script for localizing and deleting files from a folder in Linux Apache server.

已完成 已发布的 Sep 3, 2012 货到付款
已完成 货到付款

Hello,

I need a small script to be written to save precious space in my server disk storage. I currently have more than 40,000 files in my server while I need only about 1500.

My shopping cart software does not delete the images of products that were deleted from my frontend store.

I can export a CSV list of all images URLs/jpg names that are currently in use, so I can determine which images I do not want to be deleted.

All the images are located in the same folder in my server.

I do not want the script to use my MySQL database, so the script should work from a HTML page that will allow me to upload a CSV/text file with all the images URLs to be kept save and the rest of the images found in the folder will be deleted. I also want the software to output how many files it's found and to request confirmation before the delete action.

Thank you!

Each product has by default 4 images in 4 different sizes named, for example: "[login to view URL]", "[login to view URL]", "[login to view URL]" and "[login to view URL]", so the scrip will have to search for any files which their names start with "14220-13369-" to keep them safe from deletion.

HTML Linux MySQL PHP

项目ID: #2455732

关于项目

18个方案 远程项目 活跃的Sep 3, 2012

授予:

ITStudent

Hi - piece of cake, shall we start ?

$50 USD 在1天内
(60条评论)
6.0

有18名威客正在参与此工作的竞标,均价$107/小时

KESHAVINFOTECH

Hi - We have checked your given description in detail - got the idea about required script - Please check pmb for our comments. :-)

$187 USD 在8天内
(916条评论)
9.2
rajeshsonisl

Quality work assured. Ready to get started. Thanks.

$150USD 在1天里
(1078条评论)
8.9
gyaseen1986

Hi there, i am very interested to complete this project. lets complete it

$125 USD 在0天内
(1346条评论)
8.9
evgendob

Please, check PM

$60USD 在1天里
(611条评论)
8.2
coolguyinus2004

9+ years of exp in PHP/MYSQL I can nail this very well in few hrs now.

$100USD 在1天里
(388条评论)
7.9
neoconcepts

can be done. let's start.

$90USD 在1天里
(193条评论)
7.6
samkaranja

Ready to start working

$55 USD 在2天内
(86条评论)
7.3
annsys

Hi I am ready to work on this tasks. Please choose me. Thanks Jack

$100USD 在1天里
(500条评论)
7.3
tanveerjavaid

Hi I understand the task.

$100USD 在1天里
(54条评论)
6.3
desireds

We Provide what you Desire

$200 USD 在40天内
(94条评论)
6.5
Indispensable

Quick and easy job.

$35 USD 在0天内
(50条评论)
6.2
EfficientDev

Hi there. I will develop the script which will allow you to import (by browse button) the CSV containing images you need to keep. The script will display the number of images -- other than those in the CSV -- found and 更多

$120 USD 在2天内
(37条评论)
5.8
chienthuatxd

Ready to start, please pm for me. Thanks

$40 USD 在0天内
(50条评论)
5.0
ajreal

I myself also often perform image deletion, I have two proposal for you :)

$30USD 在1天里
(24条评论)
4.6
mrnewit

Hi, please check the PM!

$80 USD 在2天内
(2条评论)
2.9
vijaddev

i am ready to do this i am having more 7 years of experiences

$250 USD 在2天内
(0条评论)
0.0
esia168

Hi I can help you do this, this task seem interesting to me, as I am working on something similar to this for my own website.

$150 USD 在2天内
(1条评论)
0.0