"find: unknown predicate" with folder names
Hi
I have several folders with starting with a "-" in the folder names. They work with most commands, but the find command fails with and unknown predicate. I tried single quotes, double quotes, e\ etc.. but no luck. Folder example drwxrwxr-x 2 user group 6 Oct 11 10:33 - test [user@machine ~]$ find "- test" -name "*.jpeg" find: unknown predicate `- test' [user@machine ~]$ find '- test' -name "*.jpeg" find: unknown predicate `- test' Please help! Joe |
find "./- test" -name "*.jpg"
|
Thank you very much Ser. It worked perfectly.
|
All times are GMT -5. The time now is 03:39 PM. |