C Shell Script syntax error "unexpected end of file"

Согласно https://askubuntu.com/questions/497122/find-and-exec-in-found-folder вы должны использовать -execdir
Ваша команда должна выглядеть так:

find . -type f -name "deploy.php" -execdir cp  {} deploy_bkp.php  \;

1
13.12.2015, 06:28
0 ответов

Теги

Похожие вопросы