Find command not working

I log into OSMC with SSH. If I run the command line “find” command such as "find -iname “part_of_some_movie_name*” the command does not work and after several minutes causes the SSH connection to close. I checked and findutils is already the newest version (4.8.0-1).

version 20.5

Could be network instability or the drive you are trying to read media from is problematic.

I can run any other command just fine. I cannot even use the find command on the SD card.
Screenshot from 2024-07-22 16-57-07

Could be a corrupted install.

try:
# find . -name "Music"

if you don’t explicitly include the starting point for the search, find starts assuming things and sometimes does not work as expected.

Also, try
# find . -maxdepth 1 -name "Music"
and see of that returns quickly.

1 Like