find files which are identical to the given one (comes from the Hungarian
keresd ugyanazt - meaning "find the same")
kua [OPTION]... -f <file> [FILE]...
kua will look for files which are identical to the one given as the argument of -f. The files found will be printed on separate lines.
-i ignore letter case -w ignore white spaces -n do not ask the file system for file size -v verbose output (prints stuff to stderr), verbose help -b size set internal buffer size (default 1024) -h this help (-vh more verbose help) - read file names from stdin, where each line contains one file name (this must also be the last option in the list)
The files found will be printed on separate lines.
Since the comparison ignores white spaces, use a smaller buffer (of 256 bytes). White space ignoring comparison will not care about the file size and thus it is significantly slower.
Get help on usage: $ kua -h
$ kua -vh
Find the files identical to fav.mpg under home: $ find ~ -type f | kua -f ~/music/fav.mpg - Only files which have the same size (according to the FS) will be considered.
Find files identical to x.h, ignoring white spaces: $ find ~/code -name *.h | kua -b256 -wf ~/code/X/x.h -
© István T. Hernádvolgyi, EU.EDGE LLC, 2007
This is free software. You may redistribute copies of it under the terms of the Mozilla Public License <http://www.mozilla.org/MPL/>. There is NO WARRANTY, to the extent permitted by law.
ua(1), MD5(3), md5sum(1), find(1)
|kua 1.0||KUA (1)||November 2007|