Better, but it wont handle books that have multiple formats, for which there will be multiple entries inside the [] brackets.
And now that I think about it, there is actually a bug in calibredb list. It should not be separating multiple path by commas, as commas can occur in filenames. Now fixed:
https://github.com/kovidgoyal/calibr...4e95f15101ec6c