каждый, кто работает с unix знает что такое rcync, но я нашел недавно еще одну программу, очень симпатичную, называется:
mirrordir
Может копировать как локально с минимальным количеством настроек, так и по FTP и по закриптованному IP каналу.
Вот немного из man page:
mirrordir copies files that are different between the directories control and mirror to the directory mirror. Files whose modification times or sizes differ are copied. File permissions, ownerships, modification times, access times (only if –access-times is used), sticky bits, and device types are duplicated. Symlinks are duplicated without any translation. Symlink modification and access times (of the symlink itself, not the file it points to) are not preserved. Hard linked files are merely copied.
mirrordir command supports strong stream cipher encryption and Diffie-Hellman key exchanges with several possible key sizes.
Install mirrordir
вот как сделать "зеркало" из ~/work в ~/work.backup:
Если еще раз выполнить mirrordir то будут скопированы ТОЛЬКО измененные данные.
можно копировать целые FTP сайты:
mirrordir предлагает массу возможностей, узнать о которых можно естественно из man pages:
скаяать можно тут:
http://rpmfind.net/linux/rpm2html/se...uery=mirrordir
mirrordir
Может копировать как локально с минимальным количеством настроек, так и по FTP и по закриптованному IP каналу.
Вот немного из man page:
mirrordir copies files that are different between the directories control and mirror to the directory mirror. Files whose modification times or sizes differ are copied. File permissions, ownerships, modification times, access times (only if –access-times is used), sticky bits, and device types are duplicated. Symlinks are duplicated without any translation. Symlink modification and access times (of the symlink itself, not the file it points to) are not preserved. Hard linked files are merely copied.
mirrordir command supports strong stream cipher encryption and Diffie-Hellman key exchanges with several possible key sizes.
Install mirrordir
вот как сделать "зеркало" из ~/work в ~/work.backup:
Code:
$ mkdir ~/work.backup $ mirrordir -v ~/work ~/work.backup
можно копировать целые FTP сайты:
Code:
$ mirrordir -v ftp://ftp.crowdedhouse.com/pub /home/veey/ulitka.com/ftp/pub
Code:
$ man mirrordir
http://rpmfind.net/linux/rpm2html/se...uery=mirrordir