Skip to content
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

How to count symbolic links and windows shortcuts? #89

Closed
victordomingos opened this issue Sep 18, 2018 · 3 comments
Closed

How to count symbolic links and windows shortcuts? #89

victordomingos opened this issue Sep 18, 2018 · 3 comments

Comments

@victordomingos
Copy link
Owner

Example with symbolic link
link_img

Example with Windows shortcut
win_sh

Should I pay attention to such files or count them on a par with others?

Originally posted by @NataliaBondarenko in #84 (comment)

@victordomingos
Copy link
Owner Author

My perception is that windows treats shortcuts as separate files. They should be counted as a .lnk file, IMO.

We have a similar situation os macOS, with shortcuts created using the Finder. In this case, however, on the terminal they behave almost like links, having the the same file name and extension as the original file.

On Unix/linux, symbolic links are meant to be used as in-place representations of a file that may also be linked elsewhere. I would count them as regular files in this context. I believe thats what is happening already in our current code base, right?

@NataliaBondarenko
Copy link
Collaborator

yes, they are treated as files.

@victordomingos
Copy link
Owner Author

Let's keep it this way, so. Unless we have a good reason to change, I think it works as expected as we have it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants