I've found using the 'find' command to search for individual files that some inconsistencies occur. Eg, I wanted to search for a particular file with the word paper in its name. If I type
sudo find /mnt -iname *paper*
the output is:-
which is fair enough, except it wasn't what I was looking for. But if I type
sudo find /mnt -iname "*paper*" the output becomes:-
/mnt/data/MyMusic/FLV-Music/Joe_Jackson_Sunday_Papers_small.mp4 /mnt/data/MyMusic/FLV-Music/Status_Quo_Paper_Plane_medium.mp4 /mnt/data/MyPhotos/Wallpapers
Now I see the file I was searching for (the 2nd one). So why in the first case is only the last file shown as output, whereas in the second case all files including the string
paper in their names are output. Why should the quotes make a difference here.