find: missing argument to -exec

后端 未结 11 2161
心在旅途
心在旅途 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条回答
  •  萌比男神i
    2020-11-28 18:28

    Try putting a space before each \;

    Works:

    find . -name "*.log" -exec echo {} \;
    

    Doesn't Work:

    find . -name "*.log" -exec echo {}\;
    

提交回复
热议问题