Read-only archive. These discussions are from Tracston's earlier
technical forum and are kept online because the answers are still useful.
New replies are closed. Need help with something like this?
Talk to us.
Question
23 Oct 2020
Problem
User wants to extract the archive and upgrade current installation of wordpress or any other
when using tar xf command it puts everything in a directory called wordpress-5.1.1, all the files and subdirectories of that directory to overwrite (and add to) the existing wordpress directory.
Solution
extract using the following command
tar --strip=1 -zx -f wordpress-5.1.1.tar.gz -C wordpress
Need this fixed properly?
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →