Репозиторий Sisyphus
Последнее обновление: 20 сентября 2019 | Пакетов: 17474 | Посещений: 15133464
en ru br
Репозитории ALT
S:1.0-alt6
5.1: 1.0-alt3
4.1: 1.0-alt3
4.0: 1.0-alt3
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: hardlink

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: hardlink
Version: 1.0
Release: alt6

Summary: Consolidate duplicate files via hardlinks
License: GPLv2+
Group: System/Base
Url: http://cvs.fedora.redhat.com/viewcvs/devel/hardlink/

Source0: hardlink.c
Source1: hardlink.1

%description
This package contains hardlink, an utility which consolidates duplicate
files in one or more directories using hardlinks.

hardlink traverses one or more directories searching for duplicate files.
When it finds duplicate files, it uses one of them as the master.  It then
removes all other duplicates and places a hardlink for each one pointing
to the master file.  This allows for conservation of disk space where
multiple directories on a single filesystem contain many duplicate files.

Since hard links can only span a single filesystem, hardlink is only
useful when all directories specified are on the same filesystem.

%prep
%setup -cT

%build
%__cc %optflags $(getconf LFS_CFLAGS) %_sourcedir/hardlink.c -o hardlink

%install
install -pDm755 hardlink %buildroot%_bindir/hardlink
install -pDm644 %_sourcedir/hardlink.1 %buildroot%_man1dir/hardlink.1

%files
%_bindir/hardlink
%_man1dir/hardlink.*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin