How to install mirrordir on Ubuntu

Install mirrordir

Installing mirrordir package on Ubuntu is as easy as running the following command on terminal:

sudo apt-get update
sudo apt-get install mirrordir

mirrordir package information

name mirrordir
section utils

duplicate a directory by making a minimal set of changes

mirrordir changes the mirror directory to be an exact replica of the control directory tree in every possible detail suitable for purposes of timed backup, locally or over FTP, or over a secure tcp connection. Files whose modification times or sizes differ are copied. File permissions, ownerships, modification times, access times, and sticky bits are duplicated. Devices, pipes, and symbolic and hard links are duplicated. Files or directories that exist in the mirror directory that don't exist in the control directory are deleted. It naturally descends into subdirectories to all their depths. mirrordir tries to be as efficient as possible by making the minimal set of changes necessary to mirror the directory.


More information about apt-get install

Advanced Package Tool, or APT, is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, Ubuntu and other Linux distributions. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from precompiled files or by compiling source code.

apt-get is the command-line tool for handling packages, and may be considered the user's "back-end" to other tools using the APT library.

apt-get install is followed by one or more packages desired for installation or upgrading. Each package is a package name, not a fully qualified filename. All packages required by the package(s) specified for installation will also be retrieved and installed. The /etc/apt/sources.list file is used to locate the desired packages. If a hyphen is appended to the package name (with no intervening space), the identified package will be removed if it is installed. Similarly a plus sign can be used to designate a package to install. These latter features may be used to override decisions made by apt-get's conflict resolution system.

See Also

How to uninstall mirrordir package from Ubuntu