diskusagereports icon indicating copy to clipboard operation
diskusagereports copied to clipboard

Fix handling of symlinks causing directory tree recursion to break

Open winstona opened this issue 8 years ago • 0 comments

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

winstona avatar Feb 23 '18 07:02 winstona