Promote 'nano' as a documented command

This commit is contained in:
Andrea Mazzoleni 2016-01-11 22:15:57 +01:00
parent 6ac01901b0
commit 8e443bd767
6 changed files with 62 additions and 6 deletions

View file

@ -15,7 +15,7 @@ Synopsis
: [-L, --error-limit NUMBER]
: [-v, --verbose] [-q, --quiet]
: status|smart|up|down|diff|sync|scrub|fix|check|list|dup
: |up|down|pool|devices|rehash
: |up|down|pool|devices|nano|rehash
:snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
@ -630,6 +630,23 @@ Commands
Nothing is modified.
nano
Sets arbitrarely the sub-second timestamp of all the files
that have it at zero.
This improves the SnapRAID capability to recognize moved
and copied files as it makes the timestamp almost unique,
removing possible duplicates.
More specifically, if the sub-second timestamp is not zero,
a moved or copied file is identified as such if it matches
the name, size and timestamp. If instead the sub-second timestamp
is zero, it's cosidered a copy only if it matches the full path,
size and timestamp.
Note that the second precision timestamp is not modified,
and all the dates and times of your files will be maintained.
rehash
Schedules a rehash of the whole array.