clink 1.1.1
clink is a simple Python script that replaces duplicate files in Unix filesystems by symbolic links.
Here are some key features of
clink is a simple Python script that replaces duplicate files in Unix filesystems by symbolic links.
Here are some key features of "clink":
clink saves space. It works particularly well with automatically generated directory structures, such as compiling toolchains.
clink uses relative links, making it possible to move processed directory structures
clink is fast. It reads each file only once and its runtime is mainly the time taken to read files.
clink is light. It consumes very little RAM. No problem to run it on huge filesystems!
clink is easy to use. Just download the script and run it!
clink is free. It is released under the terms of the GNU General Public License.
Usage:
usage: clink [options] [files or directories]
Compacts folders by replacing identical files by symbolic links
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-d, --dry-run just reports identical files, doesn't make any change.
How it works
clink reads all the files one by one, and computes their SHA (20 bytes) and MD5 (16 bytes) checksums. The trick to easily find identical files is a dictionary of files lists indexed by their SHA checksum.
All the files with the same SHA checksum are not immediately considered as identical. Their MD5 checksums and sizes are also compared then. There is an extremely low probability that files meeting all these 3 criteria at once are different. You are much more likely to face file corruption because of a hardware failure on your computer!
Hard links to the same contents are treated as regular files. Keeping one instance and replacing the others by symbolic links is harmless. Files implemented by symbolic links also have the advantage of not having their contents duplicated in tar archives.
Limitations:
File permissions: clink just keeps one copy of duplicate files. The permissions of this file may be less strict than those of other duplicates. If permissions matter, enforce them by yourself after running clink.
Directory structure: even when entire directories are identical, clink just creates links between files. This is not fully optimal in this case, but it keeps clink simple.
What's New in This Release:
This bugfix release ignores non-regular files (such as device files or named pipes) instead of aborting in an ugly way.
tags
symbolic links identical files sha checksum the same regular files their sha clink just all the directory structures and exit duplicate files the files
Download clink 1.1.1
http://free-electrons.com/pub/utils/clink/clink-1.1.1
Authors software
|
cOOol 1.0 Beta2 (by Michael Opdenacker)
cOOol project is a simple Python script that looks for broken hyperlinks in OpenOffice.org documents.
Here are some key features o
|
|
KernelKit 0.5.0 (by Michael Opdenacker)
KernelKit is a Knoppix GNU/Linux derivative targetting the development of Linux kernel and drivers, as well as Free Sofware embedded
|
|
clink 1.1.1 (by Michael Opdenacker)
clink is a simple Python script that replaces duplicate files in Unix filesystems by symbolic links.
Here are some key features of
|
Similar software
|
clink 1.1.1 (by Michael Opdenacker)
clink is a simple Python script that replaces duplicate files in Unix filesystems by symbolic links.
Here are some key features of
|
|
mirrorlinks 1.0.0 (by Manuel Amador)
mirrorlinks project is a small script that automatically mirrors the contents of a directory into another directory using symbolic li
|
|
dupmerge 1.3 (by Phil Karn)
Dupmerge reads a list of files from standard input (eg., as produced by "find
|
|
StoreBackup 1.19 (by Heinz-Josef Claes)
StoreBackup is a backup utility that stores files on other disks.
It includes several optimizations that reduce the disk space nee
|
|
Dupseek 1.3 (by Antonio Bellezza)
Dupseek is a command-line interactive perl program to find and remove duplicate files.
A few strategies are possible for finding dup
|
|
Duper 20041213 (by pajp)
Duper scans directories for identical files, allows you to easily locate and delete duplicates wasting hard disk space
|
Other software in this category
|
EDASCII 1.0 (by Naskita)
EDASCII is an ASCII art editor for Linux written in Tcl/Tk (Tcl 7.5 / Tk 4.1)
|
|
Spktool (by Larry Owen)
Spkgtool is a software management system that uses symbolic links for maintaining packages and a "ports" style backend for building p
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell