I noticed through Google Webmaster Tools that there where still some old links around on the internet pointing to non-existing pages on my company site. So I thought is was time to redirect them to some existing pages. The quickes way was creating a .htaccess file and that would be it. But for some reason, … Continue reading Phusion Passenger & mod_rewrite
Tag: linux
I had a small problem on my Mac when I wanted to rebuild a subversion repo. When I worked on windows, I just searched the project folder for .svn folders. But on Mac and Linux, thats another story. Thankfully for the command-line, one quick command, and the problem is fixed: find . | grep .svn$ … Continue reading Remove hidden .svn folders from command-line
Today, I needed to empty a folder through bash on my Linux server that contained a lot of files. The files where maybe 2kb, but all the files together contained over 400Mb. So I used rm * to remove them, but it threw me a nice error: bash: /bin/rm: Argument list too long . Looks … Continue reading bash: /bin/rm: Argument list too long