FreeBSD move contents of directory to parent directory
September 1, 2009
Description
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.
Snippet
mv ./ ../
Post new comment