Stanley Posted June 10, 2020 Report Posted June 10, 2020 I want to upgrade my install to the latest version. In the Blesta documentation, it mentioned that I need to overwrite the files with the new version. I tried using "mv" and "cp" but they require me to type 'y' to every file to be overwrite. How do you do it in a single step? Quote
0 Stanley Posted June 10, 2020 Author Report Posted June 10, 2020 Found the answer. Pipe yes to all the prompts. yes | cp -R source_dir destination_dir Quote
0 Paul Posted June 10, 2020 Report Posted June 10, 2020 2 hours ago, Stanley said: Found the answer. Pipe yes to all the prompts. yes | cp -R source_dir destination_dir You got it! I think you can also use cp -Rf source_dir destination_dir The -f switch forces an overwrite. Quote
Question
Stanley
I want to upgrade my install to the latest version.
In the Blesta documentation, it mentioned that I need to overwrite the files with the new version.
I tried using "mv" and "cp" but they require me to type 'y' to every file to be overwrite.
How do you do it in a single step?
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.