X-Git-Url: https://git.distorted.org.uk/~mdw/rsync-backup/blobdiff_plain/4d1e50d8b0344b405fd7b51d589dfd6136b6f719..3d32ff8ff7bc08ccc7772cb326b54ebcff2b1224:/fshash.1 diff --git a/fshash.1 b/fshash.1 index f9d02bf..788a7d8 100644 --- a/fshash.1 +++ b/fshash.1 @@ -16,6 +16,14 @@ .IR hash ] .RI [ file \&...] +.br +.B fshash +.RB \-u +.B \-c +.I cache +.RB [ \-H +.IR hash ] +.RI [ dir ] .SH DESCRIPTION The .B fshash @@ -92,8 +100,16 @@ Use the .I hash function, which can be any hash function supported by Python's .BR hashlib . -If this option may be omitted then the hash is read from the cache file; -if there is no cache file either, then an error is reported. +This option may be omitted: if it is, then the hash is read from the +cache file; if there is no cache file either, then an error is reported. +.TP +.B \-u, \-\-udiff +Rather than produce a manifest, read a unified +.BR diff (1) +from standard input, and clear from the cache all files mentioned as +being different. Filenames in the diff are considered relative to +.I dir , +defaulting to the current working directory. .PP Positional arguments are interpreted as files and directories to be processed, in order. A directory name which ends in @@ -110,7 +126,6 @@ hexadecimal. For other kinds of filesystem object, a description of the object type and any special information about it, in square brackets, and padded with spaces so as to take the same width as a hash; see below for details. -as follows. .hP 2. A `virtual inode identifier': a string which will be the same in two lines if and only if they represent hard links to the same underlying @@ -177,7 +192,7 @@ The information field shows .BR symbolic-link . The name is followed by .RB ` \~\->\~ ' -and the link target (or by +and the link target (or .BI if there was an error reading the link destination). .TP