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?
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
0 Paul Posted June 10, 2020 Report Posted June 10, 2020 On 6/10/2020 at 2:57 PM, Stanley said: Found the answer. Pipe yes to all the prompts. yes | cp -R source_dir destination_dir Expand You got it! I think you can also use cp -Rf source_dir destination_dir The -f switch forces an overwrite.
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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now