-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ignore symlinks in indexing and CGI #336
Comments
how do i ignore symlinks when im indexing my NAS as i dont want to
include symlinks in my CGI
We currently do not have a way to exclude symlinks from the count, but
that will only impact the size calculations very slightly.
If you have a file A which is 1g, and three symlinks, B C D, pointing
to file A from other dirs, duc will not count the size four times.
Can you maybe explain your concern in more detail please?
John
|
thanks @l8gravely for looking into this and sorry for the late reply basically when i go to the full path in duc ie the mov file it says its 28G but this is symlink file so i dont want it to give the full size as its not the original file, its a shortcut pointing to the original file but in windows and mac when i view the same file (ie the symlink file) in file explorer windows says its 0b where as mac says its 203b as i said as its not the original file, its just a shortcut to the original file |
>>>> "robina80" == robina80 ***@***.***> writes:
thanks @l8gravely for looking into this and sorry for the late reply
basically when i go to the full path in duc ie the mov file it says
its 28G but this is symlink file so i dont want it to give the full
size as its not the original file, its a shortcut pointing to the
original file
Is the overall filesystem size wrong? Can you maybe just index that
directory and share the DB with me so I can look it over?
but in windows and mac when i view the same file (ie the symlink
file) in file explorer windows says its 0b where as mac says its
203b as i said as its not the original file, its just a shortcut to
the original file
So you're sharing the filesystem with Samba? I forget the details,
was this in a fileserver somewhere?
Some more details would be appreciated.
duc ls -d /path/to/duc.db -v --debug --ascii -a /path/to/directory
Should be close to what you need to run to get me more details. But
really is the overall filesystem numbers correct?
John
|
hi all,
how do i ignore symlinks when im indexing my NAS as i dont want to include symlinks in my CGI
EDIT - so it shows the symlink only and doesnt drill down which is fine but as its a symlink how do i get DUC to not show the size of the symlink
thanks,
rob
The text was updated successfully, but these errors were encountered: