diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-01-02 19:26:48 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-01-02 19:26:48 +0100 |
commit | 29d4decc90f14d7d36aa726a0e073243f240c0d9 (patch) | |
tree | 6a1d0e9a3bf50f354bfb4543c273f8d3d67627c1 /bin/hashl | |
parent | cd1e903ece481f25c57852c8e467f1fea298bdb0 (diff) |
Update documentation
Diffstat (limited to 'bin/hashl')
-rwxr-xr-x | bin/hashl | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -368,37 +368,33 @@ Actions: =over -=item B<info> [I<file>] +=item B<copy> I<newdir> -Show information on I<file> (or the database, if I<file> is not specified). +Copy all files in the current directory which are not in the database to +I<Newdir>. -=item B<know-file> [I<file>] +=item B<find-new> [I<directory>] -When I<file> is specified: Returns true if I<file> (judged by its hash) is -already in the database, false otherwise. +List all files which are not in the database. Scans either the current +directory or I<directory>. -When used without further arguments: Reads filenames from stdin (one per line) -and writes those to stdout which are already in the database. +=item B<ignore> [I<directory>] -=item B<know-hash> [I<hash>] +Add all files in I<directory> (or the current directory) as "ignored" to the +database. This means that hashl will save the file's hash and skip matching +files for B<copy> or B<find-new>. -Like B<know-file>, but works with file hashes instead. +=item B<info> [I<file>] + +Show information on I<file> (or the database, if I<file> is not specified). =item B<list> List all files and their hashes. -=item B<new-file> [I<file>] +=item B<list-ignored> -When I<file> is specified: Returns true if I<file> (judged by its hash) is not -in the database, false otherwise. - -When used without further arguments: Reads filenames from stdin (one per line) -and writes those to stdout which are not in the database. - -=item B<new-hash> [I<hash>] - -Like B<new-file>, but works with file hashes instead. +List ignored hashes =item B<update> @@ -415,6 +411,10 @@ directory. Use I<dbfile> instead of F<.hashl.db> +=item B<-n>|B<--no-progress> + +Do not show progress information. Most useful with C<< hashl find-new >>. + =item B<-s>|B<--read-size> I<bytes> Change size of the part of each file which is hashed. By default, B<hashl> |