R
R
rinaz222019-03-24 16:25:09
Automation
rinaz22, 2019-03-24 16:25:09

Is it possible to automate the cleaning of the site from unnecessary files?

Hello! There is a site with a very large number of photos. Most of them are unnecessary and just take up space. Is there any way to automate cleaning?
For example, some program finds all the paths of images and files and looks for them in folders, etc., and simply deletes all the rest.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dollar, 2019-03-24
@dollar

Of course you can.
Such a simple script can be written very quickly.
It will take more time to figure out how to run it.
(meaning to understand the author of the question, judging by the question)

S
Sherzod, 2019-03-24
@dozresh

It is possible if you have a list of unnecessary files.
If you had specified the programming language, I would have written the code to remove unnecessary files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question