FreeBSD

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.

Go to the parent directory and run the following command:

mkdir DESTINATIONDIRECTORYNAME

This will create a directory inside the parent directory. Replace DESTINATIONDIRECTORYNAME with a directory name of your choosing.

Next, run the command to copy all of the files from the source directory into the destination directory.

..read more
Syndicate content