Tag Archives: svn

Excluding .svn folders while transferring entire folder by FTP

Recently I had to transfer an entire folder, with lot of sub-folders to an FTP server. I know that there are lot of FTP GUI tools available that can do it, but I wanted to do it in command line so that I can script it.

I searched for the solution and came across an excellent tool called wput, which does exactly that very easily. It is very similar to wget, but instead of downloading the content, it allows you to upload it.

I installed it using apt-get and was trying to upload the entire directory. It was at this point I realized that I want to exclude all the .svn folders.

I again started searching for an answer. I even posted about it in stackoverflow, but couldn’t find a solution. I then went over the man page of wput and hidden inside was this gem, which allowed you decide on which files to include/exclude from the directory.

I thought of posting it here, so that it is useful for others and also I know where to find it when I need it next time.

So all you need is just one line. If you have not installed wput before, the install it using one of the following commands based on your operating system.

Posted in Unix/Server Stuff | Tagged , , | 3 Comments

WordPress 2.5 is out

The wait is finally over. 🙂 The most waited version of WordPress, Version 2.5 is out. WordPress 2.5 was in the making for nearly 6 months now and it has lot of new features and most importantly, changes to the admin screen. You can also view the screencast discussing the new admin pages from the WordPress development blog.

I am going to update my installation now and this blog might appear clunky while I am doing that. I have installed WordPress using svn so it is just a single shell command for me to update. Thanks to Joost, I converted my installation into a svn installation when WordPress 2.2.2 was released.

By the way this will be my last post using the old admin screens, I will post my experience with the new admin screens in a couple of days. Meanwhile if you have a self-hosted WordPress blog, then I highly recommend you to update to WordPress 2.5. Happy upgrading 😉

Posted in WordPress | Tagged , | 7 Comments