[TYPO3-dam] What about not deleting files when DAM records are deleted?

Jigal van Hemert jigal at xs4all.nl
Tue Feb 16 19:00:14 CET 2010


Martin Kutschker wrote:
> Francois Suter schrieb:
>> Opinions? Did I miss something?
+1 for the idea!

> The files could be moved into a trash bin folder. If there was a hook for undeleting records then
> the file could be moved back in place.
> 
> Note that the trash bin folder needs probably some mechanism to preserve the directory structure. It
> will also need to be able to handle multiple files with the same name (even within the same directory!).
+1 for this idea!

The mechanism could be something as simple as storing the trashed file 
in some archive format (.tar or .zip without compression) which supports 
storing the original path.

This could also be a solution for versioning, maybe?

--
Jigal van Hemert.


More information about the TYPO3-project-dam mailing list