Currently when extracting the Wordpress latest.tar.gz file from shell it extracts it inside a /wordpress/
folder.
How would I get it so it just places the files in the actual current directory?
Making an automatic script, I was thinking of doing mv /wordpress/* ./*
but would that work?
Use --strip-components=1
in your tar extract command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With