Project

General

Profile

Actions

Feature #15747

closed

on content delete, also delete the attached content in upload/pics folder

Added by old_chris about 18 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2006-02-28
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

If one deletes a CE 'images' also remove the containing images from the uploads/pics folder.

Same for files uploaded by extensions and stored in the uploads folder

(issue imported from #M2729)

Actions #1

Updated by Sebastian Kurfuerst about 18 years ago

Hi chris,
do you have time to look into this or are you able to do this task and provide a patch? (If not, it is no problem of course)

Greets, Sebastian

Actions #2

Updated by old_chris about 18 years ago

Sorry, I am just a simple end-user, no skills in php or alike.

Actions #3

Updated by Sebastian Kurfuerst about 18 years ago

Okay, I don't know when I have time to work on that issue, let's see.

Actions #4

Updated by old_chris about 18 years ago

maybe a better way would be do an initial 'scan' of the upload folder (and it subs) for unused images or files. See which ones are not used (or attached to CE). One can asume these non attached items are not part of the website, so they can be deleted.

This way you can get rid of old files, and copies of used files. (I guess our upload/pics folder consists of 80% of non used pictures.) It's a wast of space, as i cannot really say for sure which ones are the obsolete ones.

Would be great if you can the time to find a solution for this. Succes

Actions #5

Updated by Chris topher about 14 years ago

I would not advise to delete the uploaded media files automatically with the CE. Think of the recycler with which you could bring back deleted elements.
This would no longer work sensefully, if the contained pictures etc. already were deleted.

Actions #6

Updated by Steffen Gebert about 14 years ago

There's a task in lowlevel CLI tools, which can delete unreferenced files, isn't it?

Actions #7

Updated by Chris topher about 14 years ago

@ Steffen: Right.

Actions #8

Updated by Chris topher about 14 years ago

TYPO3 already provides a solution for the problem.

Closed after a long time without feedback.

Actions #9

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF