[Networker] mminfo -q
2011-10-06 12:58:07
Actually, you must use 2 commands:
1. Use mminfo to report the exact timestamp (i prefer 'nsavetime' as it is an
integer value and format free)
2. Use "nsrinfo -t nsavetime client_name"
This is it, in principle.
Now you can add/pipe the output through a command to count the lines ('wc' from
MKStools, for example).
However, be aware that it will list more entries than necessary because of
- the fact that each directory also counts one entry
- internal pointers (aka as 'connected directories', as far as i remember)
If you really want to count the filenames exclusively, add verbosity ...
2. Use "nsrinfo -v -t nsavetime client_name"
... and grep for "file size" <>0 (of course this only works exactly as long
as you do not have empty files)
+----------------------------------------------------------------------
|This was sent by carsten_reinfeld AT avus-cr DOT de via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|