Author Topic

Chris Williams

Thursday 21 July 2011 2:26:47 am

Comment69488

A commit has been added to the community as mentioned in the issue.

I have further asked in the "issue" about the sanitiser, or at least the cleaner.

For those who are curious to see if they suffer from this problem.

Jump into your storage for your sites and do the following commands.

# This one lists all images with a trashed folder.
find . -type f -wholename '*trashed*' | wc -l

# This one lists all images with more two or more trashed folders.
find . -type f -wholename '*trashed/trashed*' | wc -l

 

I have asked if it is expected behaviour to have nested trashed folders.

 

Has anyone tried just deleting all folders with "trashed/trashed/"? and then doing a similiar command to the "ezimagefile" table to remove rows with filepath having "trashed/trashed/?

Is this dangerous :)