Making find do search in a directory that has whitespace in its pathname
I would like to use find to do a search in the following directory:
/home/testuser/test1 test2 test3/
but haven't been able to get find to do it, since the "test1 test2 test3" directory name contains spaces and I haven't seen any documentation anywhere that shows how to get find to operate on directories that have pathnames containing whitespace. So far, I have tried:
find /home/testuser/test1 test2 test3 [search criteria]
--> find: /home/testuser/test1 no such file or directory
find: test2 no such file or directory
find: test3 no such file or directory
find '/home/testuser/test1 test2 test3' [search criteria]
--> find: '/home/testuser/test1 test2 test3' no such file or directory
find "/home/testuser/test1 test2 test3" [search criteria]
--> find: "/home/testuser/test1 test2 test3" no such file or directory
|