GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
KUA(1) User Commands KUA(1)

kua -
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.

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 -

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.

1.0

© Istv´an T. Hern´advolgyi, EU.EDGE LLC, 2007
<istvan.hernadvolgyi@gmail.com>

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)
November 2007 kua 1.0

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.