[wp-hackers] Upgrade instructions fatally flawed for Mac

Aaron Brazell abrazell at b5media.com
Wed Jan 17 18:50:27 GMT 2007


I'm not aware of a tar flag either, but you could certainly script  
it. drop it in /usr/bin just so you have it for use later just by  
typing the command

bash script wp-untar:
#!/bin/bash
wget http://www.wordpress.org/latest.tar.gz >&2>/dev/null
tar zxvf latest.tar.gz
rsync -r wordpress/* dest_dir/

--
Aaron Brazell
Technology Architect, b5media
"A Global New Media Company"

web:: www.b5media.com, www.technosailor.com
phone:: 410-608-6620
skype:: technosailor



On Jan 17, 2007, at 10:43 AM, Scot Hacker wrote:

> If I could  tell the tar command  to unpack its contents into a  
> destination dir without creating the "wordpress" parent directory,  
> this process would be easier. But I have not been able to find a  
> tar flag to do that. Suggestions?



More information about the wp-hackers mailing list