FreeBSD move contents of directory to parent directory

To move the contents of a directory to a parent directory, first navigate to the child directory and then run the command snippet below.

For example, the parent directory is called "mum" and the child directory is called "baby", navigate to "baby" and run the command. Everything will be moved to the "mum" directory.

This should also work in Linux without any problems.

mv ./ ../

Post new comment

The content of this field is kept private and will not be shown publicly.

Learn how to become a Drupal developer

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.

Syndicate

Syndicate content

Hello!!

I am Blair Wadman and this is where I write about Drupal, PHP, CSS etc

Stuff

© Blair Wadman
2005 - 2011