FreeBSD

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

Copy an entire directory in FreeBSD

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.