Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37401386
en ru br
Репозитории ALT
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: alt3

Summary: Consolidate duplicate files via hardlinks
License: GPLv2+
Group: System/Base
Url: http://cvs.fedora.redhat.com/viewcvs/devel/hardlink/
Packager: Pavlov Konstantin <thresh at altlinux.ru>

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 -q -c -T

%build
%__cc %optflags %_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