I have been on the hunt for a new host for a while now and, after many recommendations, decided to give Linode a go. Linode is a cloud based VPS provider. You get root SSH access and set everything up for yourself, with the exception of the Linux distribution, which can be installed with one click.
To move the contents of a directory to a parent directory, first navigate to the child directory and then run the command snippet below.
It is a good idea to block access to .svn directories if you are using Subversion. Otherwise, anyone can read the files. Add the following snippet to your .htaccess file (in root directory of the website).
<IfModule mod_rewrite.c> # Block access to .svn files RewriteRule ^(.*/)?\.svn/ - [F,L] ErrorDocument 403 "Access Forbidden" </IfModule>
Copying an entire directory in FreeBSD (a Unix based operating system similar to Linux) is very easy.
The following example is to copy a directory on a web server. Firstly, you must create the destination directory.
Does Drupal development make your head explode and drive you crazy?
Why not learn from someone who has paved the way instead?
Sign up to my upcoming learning series.
I am Blair Wadman and this is where I write about Drupal, PHP, CSS etc
© Blair Wadman
2005 - 2011