File: README

package info (click to toggle)
hardlink 0.3.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 84 kB
  • sloc: ansic: 821; sh: 69; makefile: 42
file content (40 lines) | stat: -rw-r--r-- 1,486 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
README for hardlink
=====================
hardlink is a tool which replaces multiple copies of a file with hardlinks.
Inspiration came from http://code.google.com/p/hardlinkpy/, but no code has
been used.

This version was originally written in Python as well, but performance issues
on large data sets caused it to be rewritten in C.

Installation
------------
To install hardlink into /usr, run make install.

 * DESTDIR - May be set to another root system (useful for packaging)
 * PREFIX  - Normally usr, may be changed to usr/local
 * MANDIR  - Normally $(PREFIX)/share/man (some systems may use $(PREFIX)/man)
 * BINDIR  - Normally $(PREFIX)/bin

Differences to hardlinkpy
-------------------------
For users of hardlinkpy, several things are different. One of the most
important changes is the renaming of all --foo-ignore arguments to
--ignore-foo ones. This is more similar to the naming of options in GNU
programs.

* --timestamp-ignore has been renamed to --ignore-time
* --owner-ignore has been renamed to --ignore-owner
* --rights-ignore has been renamed to --ignore-mode
* --filenames-equal has been renamed to --respect-name

The option --reverse has been renamed to --minimize. The option --max has
been renamed to --maximize.

At the moment, output is different. This may change at a later point.

Licensing
---------
hardlink is published under the terms of the MIT license. See the source code
for more information. This file is subject to the same licensing terms.