amekkawi / diskusagereports

Disk Usage Reports is a web-based way to view disk usage on remote computers or servers, or to provide usage reports to users who store files on your server. Reports are stored as static JSON files which are retrieved via single HTML/AJAX web UI. No database or server-side scripting required.
http://diskusagereports.com
MIT License
67 stars 19 forks source link

find.exe do not follows DFS links #4

Closed Picar66 closed 11 years ago

Picar66 commented 11 years ago

DFS Links are "FILE_ATTRIBUTE_REPARSE_POINT" AND "FILE_ATTRIBUTE_DIRECTORY". Thus needed to be mentioned as Directory to follow.

amekkawi commented 11 years ago

I actually consider those soft links that should not be followed, but I could add a flag to follow reparse points if they also have the directory attribute.

Picar66 commented 11 years ago

Microsoft DFS Links are types of softlinks but links to other UNC Pathes instead of other local pathes. normaly this is invisible for users, they see it as "links" or normal Directory. i think it is i good idea to bring this extra handling with a option flag. so every user could use it or not.

amekkawi commented 11 years ago

Please try the -r option using the find.exe from https://github.com/amekkawi/diskusagereports/blob/5862cc3434fea13d9907c707eca0a2b14f7851d7/scripts/find.exe?raw=true

Picar66 commented 11 years ago

Works great. Thank you