How to recursively search for files with certain extensions?

前端 未结 2 1106
别跟我提以往
别跟我提以往 2020-12-31 01:02

I need to find all the .psd files on my Linux system (dedicated web hosting). I tried something like this: ls -R *.psd, but that\'s not working. Su

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-31 01:37

    You can use the following find command to do that:

    find /path/to/search -iname '*.psd'
    

    iname does a case insensitive search.

提交回复
热议问题