Answer the question
In order to leave comments, you need to log in
What is the command to copy and delete a file to folders?
find ./*/public_html/dorozhnaja-razmetka -name "index.php" | xargs -n 1 cp ~/optimaservis.ru/public_html/dorozhnaja-razmetka/index.php
find ./*/ -f "public_html" | xargs -n 1 cp ~/optimaservis.ru/public_html/sect_inc_company-numbers.php
Answer the question
In order to leave comments, you need to log in
find ~ -type d -name 'public_html' -exec cp ~/optimaservis.ru/public_html/sect_inc_company-numbers.php {} \;
~/optimaservis.ru/public_html/sect_inc_company-numbers.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question