Delete library in only one way

Hello everyone, we have created libraries and every day is updated with new files. We need to completely delete the library with all its files.

Example: I have a library called absences_lib and daily load that library file.
Now to remove this library must eliminate one by one all the files loaded in the last 3 years, Multiply this for a hundred libraries … how can I speed up.

Assuming it’s 1.7.5 CMS then run the tidy library routine from the Settings page in the CMS and select the option to delete old versions of media items.

That will delete all old versions of media items from the library. You’re strongly advised to take a backup of the database and CMS library before running the cleanup