Thought I’d share this with you. Here are the commands I use to “do work” on WordPress.
Connect to a remote machine (usually I do development on my laptop, locally, but sometimes I’ll work from another computer):
$ ssh -l remote_username example.comMake a directory:
$ mkdir /path/to/wordpress/Browse to the WordPress directory:
$ cd /path/to/wordpress/Use SVN to download the latest WP code to the current directory (which from now on, assume is /path/to/wordpress/):
$ svn co http://svn.automattic.com/wordpress/trunk/ .Update existing SVN checkout to latest code:
$ svn upSearch WordPress for a string (‘function the_content’ in this case):
$ grep -iR 'function the_content' *Edit a file using nano:
$ nano filename.phpMake a patch, for filename.php:
$ svn diff filename.php > filename.diffMake a patch for all files modified in the checkout:
$ svn diff > big_patch.diffApply a patch from someone else:
$ patch -p0 < patch.diff
My main text editor is TextMate for OS X, but I’ll use nano if logged in to a remote system. Note that all these commands work for OS X and Linux (you’ll need svn installed… check out Fink for OS X which gives you apt-get and a bunch of nice Linux-y goodness).
Update: Peter Westwood has a tutorial for Windows users, which I recommend (I used to do development on Windows, and I used the tools that he recommends!)
Pingback: Peter Westwood » Windows WordPress Toolbox
I don’t work on WordPress but I do develop other projects using SVN and I use Eclipse for most of the work. With a PHPeclipse and Subclipse you can do the same thing in one package. Thought your way seems to work for you.
Pingback: Mark Jaquith’s WordPress Blog » Blog Archive » Bug Hunt on Saturday
Pingback: skippy dot net » Bug Hunt Preparations
Interesting stuff, but I am new to WP and have some basic questions: Can you help?
1. I am using wordpress.com and want to change the title on the blog. How?
2. Can I use a theme that is not there in wordpress.com?
Would appreciate any help on these.
Thanks,
Scribbler.
scribbler,
options » general, to change the name of the blog
You cannot currently use arbitrary code on wordpress.com
ssh -l username example.com -p port-number
in case someone wants to use a different port number!
Pingback: Interesting News Posts
Pingback: Peter Westwood » It’s bug hunt time.
Pingback: What’s in the Toolbox?
Hi Jim. Photos i received. Thanks
ssh username@example.comis smoother than the
-lparameter.A very helpful, yet widely unknown feature is bash’s (and other shell’s) tab completition: For example, if you want to go to
/path/to/wordpress/, you type/pand press tab. You’ll either havepathautocompleted, or you are shown all files/directories starting with p (if so, type the next letter, and so on). This is one of the features which saves a big bunch of time, when you’re working in the shell.Hi! I find for best deal
vigra order online
Pingback: Bookmarks for Friday, January 11th — Trevor Fitzgerald
Pingback: scot hacker’s foobar blog » WordPress Patch Committed
what i m trying to do is when i login to wordpress on the site i see this topic called toolbox i would like users when they login go to that toolbox upload . can it be done or should i just make a php script? email me if you get this thank you
[...] inspired by posts awhile ago by Westi’s Windows WordPress toolbox and Mark’s Mac/Unix based WordPress toolbox, I give you my WordPress-and-sometimes-not-Mac-and-Linux [...]
[...] inspired by posts awhile ago by Westi’s Windows WordPress toolbox and Mark’s Mac/Unix based WordPress toolbox, I give you my WordPress-and-sometimes-not-Mac-and-Linux [...]
l don’t work on WordPress but I do develop other projects using SVN and I use Eclipse for most of the work. With a PHPeclipse and Subclipse you can do the same thing in one package. Thought your way seems to work for you.
Hi Jim. Photos i received. Thanks
A very helpful, yet widely unknown feature is bash’s (and other shell’s) tab completition: For example, if you want to go to /path/to/wordpress/, you type /p and press tab. You’ll either have path autocompleted, or you are shown all files/directories starting with p (if so, type the next letter, and so on). This is one of the features which saves a big bunch of time, when you’re working in the shell. http://www.yemek-tariflerimiz.tr.gg bekleriz
super idea http://www.voipvoip.tr.gg and http://www.voipx.tr.gg come me http://www.tvdizileri.tr.gg l am waiting
Thanks for your post.
Mac OSX and GNU/Linux Subversion cheat sheet
hi http://www.demard.tr.gg and http://www.msnhocasiyim.tr.gg http://www.superteklifkazan.tr.gg super sites
super site, thanks
Hi! I find for best deal
vigra order online
thanks. super blog
Thanks for the tutorial, it worked a treat.
gazeteler, medya, sinema, televizyonlar
bedava sitem kodları
I had no idea OS X was like Linux. Thanks for the tips. I’ll give it a whirl.
thanks. super
kişisel blogum
WordPress has become its own multi-million dollar industry. It’s a fantastic platform and user input has made it the leader.
I’m new to wordpress having just switched over from blogger so these tips will come in useful. Cheers.
Pingback: What to Expect When You’re Expecting WordPress Upgrades? | Lisa Sabin-Wilson
Does anyone know if there’s a collection of WordPress instructional videos somewhere? From installation to usage and then template customisation?
Good day!,
thanks super site
I don’t understand this article
tesekkurler emegine saglık super site
Mac OSX and GNU/Linux Subversion cheat sheet
super site emegine saglık
thanks super site
emegine saglık supersin
youtube gir. you tube videoları
eline koluna bilegine klavyene saglık daha ne diyeyim yaw inglish bilmiyorum ki eglenelim bari böle
great job! thx
Hi – HiYa – Got there and to Peter Westwood’s “commit” post from Trac frontpage. Here’s what I’m thinking (I copied this from my comment in Mark’s blog a minute ago [1]): a couple of 101-style articles on basics … Eclipse/PHP with Subversion … or maybe Aptana, not sure. Thing is I’ve mucked by way through various IDEs over the past ?what? 3 decades, but not this. So if I can hook up with someone who uses this sort of setup day to day, I would co-author. Maybe you can hook me up with someone you know?
best of the season to you
–bentrem
1) http://blog.ftwr.co.uk/archives/2005/11/03/windows-wordpress-toolbox/
s / Got there / Got here
*sigh*
thanks super site
emegine saglık suppperrrrr
emegine saglık siten supermiş
eurovision şarkı yarışması hadise super
super site thanks
WordPress is now big business. It’s not only excellent for blogging but I’ve noticed a trend where normal web sites have a WordPress backend.
thanks super
perfect
WordPress has become its own multi-million dollar industry. It’s a fantastic platform and user input has made it the leader.
thanks
minute ago [1]): a couple of 101-style articles on basics … Eclipse/PHP with Subversion … or maybe Aptana, not sure. Thing is I’ve mucked by way through various IDEs over the
I’ve never bothered getting my head around ssh. You’ve inspired me to give it a go. Thanks and a Stumble for your efforts
thanks this is super site
Pingback: Alan’s blog » fix for Wordpress shortcode bug
teşekkürler
Hrm, another hacker who uses nano/pico. I don’t feel so alone anymore.
thanks for this great article
thanks super site
Good article! We started to implement word press blogs, however we are starting to look at Thesis. Has anyone here tried Thesis? If so, can anyone tell their experience with it? It looks pretty straight forward, although the price is kind of spendy..
Pingback: Teleogistic / Setting up a WordPress/BuddyPress development environment on OS X
Thats not just logic. Thats really sseibnle.
Pingback: Contributing to WordPress Makes You a Better Developer | FullThrottle Development
nice collection of commands, thanks for listing them
你好朋友 有兴趣看下我们的软件:
新动力英文URL外链收割机
最新版本v20100703
新增功能:
根据URL关键词批量获取,如输入GuestBook.asp 就可获得大量此类地址
通过代理分析查询,每日自动更新最新代理,避免IP访问限制
新增代理浏览器 无界访问任何站点
新增IP归属地
能顶上10个人团队的英文外链分析软件
几分钟内帮您快速拿得竞争对手的高权重高PR 可发布外连地址 筛选掉NOFOLLOW部分 为你所用
我们有一流SEO类软件开发团队,诚交天下SEO界朋友,欢迎交流与合作!!!
Great list!!!! THANKS MARK! You saved my life. I have been looing for this one: Use SVN to download the latest WP code to the current directory (which from now on, assume is /path/to/wordpress/):
$ svn co http://svn.automattic.com/wordpress/trunk/
Worked beautifully
I don’t understand
teşekkürler güzel olmuş
thanks for share “My WordPress Toolbox”
scribbler,
I think you will find the commands depending upon which version of wp you are using at: options » general, to change the wp title.
Sorry almost forgot to give this blog a huge thumbs up for WP developers
Wow, what happened to the old FTP route…
Very useful page, just bookmarked it. Thanks.
Useful wordpress info. Thanks for sharing.
teşekkürler güzel olmuş
I am PHP developer and having more then 9 years of experience. I want to write some code for wordpress. How can I solve the wordpress bugs. Where I can find the wordpress bug list.
I liked the article, and it was very well written. A+ Man
Great posts, thanks for these tips!
Help for Panic Attacks
i have word press and this is interesting
This is a great article – thanks so much for the tips!
I look forward to more posts.
thanks a lot. Good article! We started to implement word press blogs, however we are starting to look at Thesis. Has anyone here tried Thesis? If so, can anyone tell their experience with it? It looks pretty straight forward, although the price is kind of spendy..
thanks your good post
Note that the official SVN repo URL has changed:
http://core.svn.wordpress.org/trunk/
I discovered your blog site on google and check a couple of of your early posts. Proceed to maintain up the very good operate. I simply extra up your RSS feed to my MSN Information Reader. Looking for ahead to reading more from you in a while!…
Thanks for the tutorial, just tested and it was fine.
thanks a lot, super
Pingback: svn patches from git | scribu
What?s Going down i’m new to this, I stumbled upon this I’ve found It absolutely useful and it has aided me out loads. I am hoping to give a contribution & aid different customers like its aided me. Good job.
whoah this weblog is fantastic i love studying your posts. Keep up the great paintings! You recognize, lots of persons are hunting around for this info, you could help them greatly.
i want to patch wordpress.org/attachment/ticket/16706/16706.2.diff files to my taxomony.php . i opened taxomony.php files and edit related codes. But it gives me error. Can we a file and pass the pach code directly via ftp?
Directly editing a a file and replace the code in diff file can be give error.
thanks for the tips! do you have anymore to share?
thanks for the good post! greetings bianca
nice collection of commands, thanks for listing them greetings lisa
Use club penguin codes and access all the club penguin items and books for free.
realy good blog thx for sharing greetings Jessy
Thanks a bunch for sharing this with all people you actually recognize what you’re talking approximately! Bookmarked. Kindly additionally seek advice from my web site =). We can have a link trade agreement among us
You can definitely see your skills in the paintings you write. The arena hopes for more passionate writers like you who are not afraid to say how they believe. At all times follow your heart.
Pingback: Room Heaters
Thanks for all of the code! This will def come in handle with my install of WP
Good article dude! thx johanna
thanks your good post! I look forward to more posts. Greetings maria
WordPress has become its own multi-million dollar industry. It’s a fantastic platform and user input has made it the leader. You should read this article: far cry 3 review. It gives really good insiight about the best tool to use with wordpress.
Great article! Cheers!
Looking for ahead to reading more from you in a while!…
Thought your way seems to work for you.
Pingback: Contributing to WordPress Core - It's Time to Give BackMatt Banks
Pingback: How is WordPress Subversion Organized | Technosailor.com
No one has fixed the custom URL link bug in the WordPress gallery yet. Do you know anyone that could fix it for free? If I can help in anyway, I would love to help out as well.
I just want to cut back on plugins and the gallery says we can type in links the URL we like but the WordPress gallery doesn’t work… A ticket has been sent in and it just says someone will look some time
What’s the ticket number?
Realy nice page an very helpfull thx Hanna
If you get tired of sessions timing out, try:
`ssh -p PORT_NUMBER -o ServerAliveInterval=60 username@domain.com`