Skip to content

Instantly share code, notes, and snippets.

@ewxrjk
Last active January 21, 2019 12:12
Show Gist options
  • Save ewxrjk/183a3016cf762fc96cc0756925841ab8 to your computer and use it in GitHub Desktop.
Save ewxrjk/183a3016cf762fc96cc0756925841ab8 to your computer and use it in GitHub Desktop.
find ignores files it doesn't like
araminta:2014-09-11$ find . -name 20140911_182911_Hochstra▒e.jpg
araminta:2014-09-11$ echo $?
0
araminta:2014-09-11$ find . -name 2014\*
araminta:2014-09-11$ echo $?
0
araminta:2014-09-11$ ls -l 20140911_182911_Hochstra▒e.jpg
-rw-r--r-- 1 richard richard 529050 Jan 20 20:49 20140911_182911_Hochstra?e.jpg
araminta:2014-09-11$ find --version
find (GNU findutils) 4.7.0-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=2)
@ewxrjk
Copy link
Author

ewxrjk commented Jan 21, 2019

https://savannah.gnu.org/bugs/?52890 upstream's response is to blame glob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment