Closed (fixed)
Project:
File (Field) Paths
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2010 at 02:18 UTC
Updated:
5 Jun 2012 at 17:21 UTC
Can this module clean up the empty directories it leaves when a file path is changed? It seems to delete the files just fine, but i'm left with a bunch of orphan directories that don't contain any files and don't seem to be connected to any nodes.
Thanks, great module.
Comments
Comment #1
decipheredHi nodecode,
This is something that needs to be done, you're right. I will try to get this feature in as soon as I have some time to dedicate to the development of this module. Hopefully it won't be too far off, but I do have a lot going on IRL at the moment.
Cheers,
Deciphered.
Comment #2
TripleEmcoder commentedSubscribing.
Comment #3
nodecode commentedjust checking if this was ever implemented.
Comment #4
jordanmagnuson commentedComment #5
kerios83 commentedAfter checking how filefield paths works I think it's not jet implemented.
Comment #6
decipheredIt should be deleting them, I can confirm in my testing it does.
If it is not, please re-open this issue with steps to reproduce the issue.
Cheers,
Deciphered.
Comment #8
marinex commentedHi, I have try installed 6.x-1.4 and latest 6.x-1.x-dev. When I create node "testing" with image "blue.jpg" it create directory "files/testing" with the image blue.jpg. When I delete this node the image "bule.jpg" is delete, but the folder "testing" is not delete!
I have setup:
File path: : [title]
File name: [filefield-onlyname-original].[filefield-extension-original]
Thanks M.