Mikael Berthe <mikael@lilotux.net> [Wed, 23 Feb 2022 22:56:53 +0100] rev 45
Display existing hard links in result sets
This is a breaking change in the plain text output,
but somehow the list displayed in case of existing hard links
was arbitrary, since the all the hardlinked filenames were not displayed.
Here's a sample JSON result with this patch:
{
"file_size": 9216,
"paths": [
"test_tree/f09-1_5.raw",
"test_tree/f09-4_5.raw"
],
"links": {
"test_tree/f09-1_5.raw": [
"test_tree/f09-2_5.raw",
"test_tree/f09-3_5.raw"
],
"test_tree/f09-4_5.raw": [
"test_tree/f09-5_5.raw"
]
}
}
Here the 5 files have the same contents, but there are two hardlink groups:
"test_tree/f09-1_5.raw"
"test_tree/f09-2_5.raw"
"test_tree/f09-3_5.raw"
are hard-linked, and
"test_tree/f09-4_5.raw"
"test_tree/f09-5_5.raw"
are hard-linked.
Here's the same set displayed With the regular text output:
Group #5 (2 files * 9216 bytes):
test_tree/f09-1_5.raw
test_tree/f09-2_5.raw
test_tree/f09-3_5.raw
test_tree/f09-4_5.raw
test_tree/f09-5_5.raw
(The link file names are indented using 1 space character.)
Mikael Berthe <mikael@lilotux.net> [Sat, 01 Dec 2018 22:46:09 +0100] rev 44
Improve previous commit (JSON output)
Mikael Berthe <mikael@lilotux.net> [Thu, 29 Nov 2018 21:51:26 +0100] rev 43
Do not display Dupes title when using JSON output
Mikael Berthe <mikael@lilotux.net> [Sun, 14 Oct 2018 17:27:37 +0200] rev 42
Rename JSON size fields
Make the field names more explicit...
Mikael Berthe <mikael@lilotux.net> [Sun, 14 Oct 2018 15:45:30 +0200] rev 41
JSON: Add fields 'total_size' and 'total_size_h'
Mikael Berthe <mikael@lilotux.net> [Sun, 14 Oct 2018 15:44:28 +0200] rev 40
JSON output: NumberOfSets was not set
Mikael Berthe <mikael@lilotux.net> [Sun, 14 Oct 2018 15:33:53 +0200] rev 39
Move formatSize() to output.go
Mikael Berthe <mikael@lilotux.net> [Sun, 14 Oct 2018 15:23:11 +0200] rev 38
Cosmetic changes
Mikael Berthe <mikael@lilotux.net> [Sun, 14 Oct 2018 15:21:46 +0200] rev 37
Some code refactoring
Move logic out of main().
Mikael Berthe <mikael@lilotux.net> [Sun, 14 Oct 2018 13:20:09 +0200] rev 36
Add JSON output
Mikael Berthe <mikael@lilotux.net> [Sat, 13 Oct 2018 21:44:16 +0200] rev 35
Mention github mirror in the comments
Mikael Berthe <mikael@lilotux.net> [Sat, 13 Oct 2018 21:42:11 +0200] rev 34
Split goduf.go into several files
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Sep 2018 13:07:06 +0200] rev 33
Add go.mod
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Sep 2018 12:59:50 +0200] rev 32
Travis: Add testing with Go v1.11
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Sep 2018 12:53:20 +0200] rev 31
Update README
Mikael Berthe <mikael@lilotux.net> [Sat, 07 Apr 2018 21:49:38 +0200] rev 30
Add one more example
Mikael Berthe <mikael@lilotux.net> [Sat, 07 Apr 2018 21:43:55 +0200] rev 29
Add README badges
Mikael Berthe <mikael@lilotux.net> [Sat, 07 Apr 2018 21:41:16 +0200] rev 28
Add Travis file
Mikael Berthe <mikael@lilotux.net> [Sat, 07 Apr 2018 21:13:49 +0200] rev 27
Add README.md and gitignore for the Github mirror
Mikael Berthe <mikael@lilotux.net> [Mon, 02 Apr 2018 01:22:09 +0200] rev 26
Add missing license file
Mikael Berthe <mikael@lilotux.net> [Sat, 18 Mar 2017 10:51:52 +0100] rev 25
Move comment
Mikael Berthe <mikael@lilotux.net> [Sat, 18 Mar 2017 10:47:27 +0100] rev 24
Add installation command line example
Mikael Berthe <mikael@lilotux.net> [Sat, 18 Mar 2017 10:21:54 +0100] rev 23
Add an assertion on constant variables
Mikael Berthe <mikael@lilotux.net> [Sun, 19 Feb 2017 19:57:04 +0100] rev 22
Experimental optimization
This is actually an old patch; it tries to batch checksum
computation, which is slightly helpful with high number of
files and mecanical drives.
Mikael Berthe <mikael@lilotux.net> [Sun, 19 Feb 2017 18:21:44 +0100] rev 21
Improve file sorting
Mikael Berthe <mikael@lilotux.net> [Sun, 29 Jun 2014 18:30:02 +0200] rev 20
Better documentation
Mikael Berthe <mikael@lilotux.net> [Sun, 29 Jun 2014 18:00:13 +0200] rev 19
Remove duplicated code
Mikael Berthe <mikael@lilotux.net> [Sun, 29 Jun 2014 17:52:53 +0200] rev 18
Change comments so that build constraints still work
Mikael Berthe <mikael@lilotux.net> [Sun, 29 Jun 2014 17:47:31 +0200] rev 17
Add copyright notices to the arch-specific files
Mikael Berthe <mikael@lilotux.net> [Sun, 29 Jun 2014 17:34:32 +0200] rev 16
Sort results
Sort groups by size of a group file, and files from a same group by path.