-
Notifications
You must be signed in to change notification settings - Fork 82
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
Find and search do not work if notes directory is symbolic link #86
Comments
Oooh, interesting! Yes, that sounds very plausible. I'm open to PRs to fix this, but it would need to be compatible cross-platform... Do you know if |
Output from Alpine Linux (busybox version of find):
Output from Arch Linux, (GNU findutils):
Looks like it works the same on both cases. Hopefully this can help someone whoever is writing the patch for this. 😃 |
POSIX spec defines -H as a "shall implement" for find: https://pubs.opengroup.org/onlinepubs/007904975/utilities/find.html
It should be safe to add for a patch and work everywhere that standard |
Issue Summary
If the notes directory is a symbolic link, find and search are always empty.
Steps to Reproduce
ln -s ~/Google\ Drive/Notes ~/Notes
notes find
Seems be resolved with
-H
flag in script when callingfind
Technical details:
The text was updated successfully, but these errors were encountered: