find: missing argument to -exec

后端 未结 11 2168
心在旅途
心在旅途 2020-11-28 17:52

I was helped out today with a command, but it doesn\'t seem to be working. This is the command:

find /home/me/download/ -type f -name \"*.rm\" -exec ffmpeg -         


        
11条回答
  •  日久生厌
    2020-11-28 18:12

    Also, if anyone else has the "find: missing argument to -exec" this might help:

    In some shells you don't need to do the escaping, i.e. you don't need the "\" in front of the ";".

    find  -name "myFile.*" -exec rm - f {} ;
    

提交回复
热议问题