diskusagereports
diskusagereports copied to clipboard
Fix handling of symlinks causing directory tree recursion to break
This should fix issue: #8
symlinks are stored in the data file as:
l 2017-09-24 18:41:05 30 <srcdir>/extlinux.conf -> ../boot/extlinux/extlinux.conf
the destination -> ../boot/extlinux/extlinux.conf breaks traversal of the directory tree, causing subdirectory placement to put directories in the wrong location.
This fix strips out the destination leaving just the symlink filename