gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: gnunet-publish.1


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: gnunet-publish.1
Date: Thu, 18 Apr 2019 20:44:09 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new bab2ea57b gnunet-publish.1
bab2ea57b is described below

commit bab2ea57b487b09236533d14bafb73c904439788
Author: ng0 <address@hidden>
AuthorDate: Thu Apr 18 18:43:54 2019 +0000

    gnunet-publish.1
---
 doc/man/gnunet-publish.1 | 548 +++++++++++++++++++++--------------------------
 1 file changed, 242 insertions(+), 306 deletions(-)

diff --git a/doc/man/gnunet-publish.1 b/doc/man/gnunet-publish.1
index 5f774580b..cd0dda8ff 100644
--- a/doc/man/gnunet-publish.1
+++ b/doc/man/gnunet-publish.1
@@ -1,347 +1,283 @@
-.TH GNUNET-PUBLISH "1" "November 16, 2015" "GNUnet"
-.SH NAME
-gnunet\-publish \- a command line interface for publishing new content into 
GNUnet
-.SH SYNOPSIS
-.B gnunet\-publish
-[\fIOPTIONS\fR] FILENAME
-.SH DESCRIPTION
-.PP
-In order to share files with other GNUnet users, the files must first
-be made available to GNUnet.
-GNUnet does not automatically share all files from a certain directory
-(however, you can do this with the gnunet\-auto\-share tool).
+.\" This file is part of GNUnet.
+.\" Copyright (C) 2001-2019 GNUnet e.V.
+.\"
+.\" Permission is granted to copy, distribute and/or modify this document
+.\" under the terms of the GNU Free Documentation License, Version 1.3 or
+.\" any later version published by the Free Software Foundation; with no
+.\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
+.\" copy of the license is included in the file
+.\" ``FDL-1.3''.
+.\"
+.\" A copy of the license is also available from the Free Software
+.\" Foundation Web site at @url{http://www.gnu.org/licenses/fdl.html}.
+.\"
+.\" Alternately, this document is also available under the General
+.\" Public License, version 3 or later, as published by the Free Software
+.\" Foundation.  A copy of the license is included in the file
+.\" ``GPL3''.
+.\"
+.\" A copy of the license is also available from the Free Software
+.\" Foundation Web site at @url{http://www.gnu.org/licenses/gpl.html}.
+.\"
+.\" SPDX-License-Identifier: GPL3.0-or-later OR FDL1.3-or-later
+.\"
+.Dd November 16, 2015
+.Dt GNUNET-PUBLISH 1
+.Sh NAME
+.Nm gnunet-publish
+.Nd
+a command line interface for publishing new content into GNUnet
+.Sh SYNOPSIS
+.Nm
+.Op Fl a Ar LEVEL | Fl \-anonymity= Ns Ar LEVEL
+.Op Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME
+.Op Fl D | \-disable\-extractor
+.Op Fl E | \-enable\-creation\-time
+.Op Fl e | \-extract
+.Op Fl h | \-help
+.Op Fl k Ar KEYWORD | Fl \-key= Ns Ar KEYWORD
+.Op Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL
+.Op Fl m Ar TYPE:VALUE | Fl \-meta= Ns Ar TYPE:VALUE
+.Op Fl n | \-noindex
+.Op Fl N Ar ID | Fl \-next= Ns Ar ID
+.Op Fl p Ar PRIORITY | Fl \-prio= Ns Ar PRIORITY
+.Op Fl P Ar NAME | Fl \-pseudonym= Ns Ar NAME
+.Op Fl r Ar LEVEL | Fl \-replication= Ns Ar LEVEL
+.Op Fl s | \-simulate-only
+.Op Fl t Ar ID, \-this= Ns Ar ID
+.Op Fl u Ar URI | Fl \-uri= Ns Ar URI
+.Op Fl v | \-version
+.Op Fl V | \-verbose
+.Ao Ar FILENAME Ac
+.Sh DESCRIPTION
+In order to share files with other GNUnet users, the files must first be made 
available to GNUnet.
+GNUnet does not automatically share all files from a certain directory 
(however, you can do this with the gnunet\-auto\-share tool).
 In fact, even files that are downloaded are not automatically shared.
-.PP
-In order to start sharing files, the files must be added either using
-gnunet\-publish or a graphical interface such as gnunet\-fs\-gtk.
-The command line tool gnunet\-publish is more useful if many files are
-supposed to be added.
-gnunet\-publish can automatically publish batches of files,
-recursively publish directories, create directories that can be
-browsed within GNUnet and publish file lists in a namespace.
-When run on a directory, gnunet\-publish will always recursively
-publish all of the files in the directory.
-.PP
-gnunet\-publish can automatically extract keywords from the files that
-are shared.
-Users that want to download files from GNUnet use keywords to search
-for the appropriate content.
+.Pp
+In order to start sharing files, the files must be added either using 
gnunet\-publish or a graphical interface such as gnunet\-fs\-gtk.
+The command line tool gnunet\-publish is more useful if many files are 
supposed to be added.
+gnunet\-publish can automatically publish batches of files, recursively 
publish directories, create directories that can be browsed within GNUnet and 
publish file lists in a namespace.
+When run on a directory, gnunet\-publish will always recursively publish all 
of the files in the directory.
+.Pp
+gnunet\-publish can automatically extract keywords from the files that are 
shared.
+Users that want to download files from GNUnet use keywords to search for the 
appropriate content.
 You can disable keyword extraction with the \-D option.
 You can manually add keywords using the \-k option.
 The keywords are case\-sensitive.
-.PP
-In addition to searching for files by keyword, GNUnet allows
-organizing files into directories.
-With directories, the user only needs to find the directory in order
-to be able to download any of the files listed in the directory.
+.Pp
+In addition to searching for files by keyword, GNUnet allows organizing files 
into directories.
+With directories, the user only needs to find the directory in order to be 
able to download any of the files listed in the directory.
 Directories can contain pointers to other directories.
-.PP
-With gnunet\-publish, it is easy to create new directories
-simultaneously when adding the files.
+.Pp
+With gnunet\-publish, it is easy to create new directories simultaneously when 
adding the files.
 Simply pass the name of a directory instead of a file.
-.PP
-Since keywords can be spammed (any user can add any content under any
-keyword), GNUnet supports namespaces.
-A namespace is a subset of the searchspace into which only the holder
-of a certain pseudonym can add content.
-Any GNUnet user can create any number of pseudonyms using
-\fBgnunet\-pseudonym\fR.  Pseudonyms are stored in the user's GNUnet
-directory.
-While pseudonyms are locally identified with an arbitrary string that
-the user selects when the pseudonym is created, the namespace is
-globally known only under the hash of the public key of the pseudonym.
-Since only the owner of the pseudonym can add content to the
-namespace, it is impossible for other users to pollute the namespace.
-gnunet\-publish automatically publishes the top\-directory (or the
-only file if only one file is specified) into the namespace if a
-pseudonym is specified.
-.PP
-It is possible to update content in GNUnet if that content was placed
-and obtained from a particular namespace.
-Updates are only possible for content in namespaces since this is the
-only way to assure that a malicious party can not supply counterfeited
-updates.
-Note that an update with GNUnet does not make the old content
-unavailable, GNUnet merely allows the publisher to point users to more
-recent versions.
-You can use the \-N option to specify the future identifier of an
-update.
-When using this option, a GNUnet client that finds the current (\-t)
-identifier will automatically begin a search for the update (\-N)
-identifier.
-If you later publish an update under the (\-N) identifier, both
-results will be given to the user.
-.PP
-You can use automatic meta\-data extraction (based on libextractor) or
-the command\-line option \-m to specify meta-data.
+.Pp
+Since keywords can be spammed (any user can add any content under any 
keyword), GNUnet supports namespaces.
+A namespace is a subset of the searchspace into which only the holder of a 
certain pseudonym can add content.
+Any GNUnet user can create any number of pseudonyms using 
\fBgnunet\-pseudonym\fR.
+Pseudonyms are stored in the user's GNUnet directory.
+While pseudonyms are locally identified with an arbitrary string that the user 
selects when the pseudonym is created, the namespace is globally known only 
under the hash of the public key of the pseudonym.
+Since only the owner of the pseudonym can add content to the namespace, it is 
impossible for other users to pollute the namespace.
+gnunet\-publish automatically publishes the top\-directory (or the only file 
if only one file is specified) into the namespace if a pseudonym is specified.
+.Pp
+It is possible to update content in GNUnet if that content was placed and 
obtained from a particular namespace.
+Updates are only possible for content in namespaces since this is the only way 
to assure that a malicious party can not supply counterfeited updates.
+Note that an update with GNUnet does not make the old content unavailable, 
GNUnet merely allows the publisher to point users to more recent versions.
+You can use the \-N option to specify the future identifier of an update.
+When using this option, a GNUnet client that finds the current (\-t) 
identifier will automatically begin a search for the update (\-N) identifier.
+If you later publish an update under the (\-N) identifier, both results will 
be given to the user.
+.Pp
+You can use automatic meta\-data extraction (based on libextractor) or the 
command\-line option \-m to specify meta-data.
 For the \-m option you need to use the form keyword\-type:value.
-For example, use "\-m os:Linux" to specify that the operating system
-is Linux.
-Common meta\-data types are "author", "title" , "mimetype",
-"filename", "language", "subject" and "keywords".
-A full list can be obtained from the extract tool using the option
-\-\-list.
-The meta\-data is used to help users in searching for files on the
-network.
+For example, use "\-m os:Linux" to specify that the operating system is Linux.
+Common meta\-data types are "author", "title" , "mimetype", "filename", 
"language", "subject" and "keywords".
+A full list can be obtained from the extract tool using the option \-\-list.
+The meta\-data is used to help users in searching for files on the network.
 The keywords are case\-sensitive.
-.PP
+.Pp
 GNUnet supports two styles of publishing files on the network.
-Publishing a file means that a copy of the file is made in the local
-(!) database of the node.
-Indexing a file means that an index is added to the local (!)
-database with symbolic links to the file itself.
-The links will use the SHA-512 hash of the entire file as the
-filename.
-Indexing is generally significantly more efficient and the default
-choice.
-However, indexing only works if the indexed file can be read (using
-the same absolute path) by gnunet-service-fs.
-If this is not the case, indexing will fail (and gnunet\-publish will
-automatically revert to publishing instead).
-Regardless of which method is used to publish the file, the file will
-be slowly (depending on how often it is requested and on how much
-bandwidth is available) dispersed into the network.
-If you publish or index a file and then leave the network, it will
-almost always NOT be available anymore.
-.PP
-\fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR
-Use alternate config file (if this option is not specified, the
-default is ~/.config/gnunet.conf).
-.TP
-\fB\-D\fR, \fB\-\-disable\-extractor\fR
-Disable use of GNU libextractor for finding additional keywords and
-metadata.
-.TP
-\fB\-E\fR, \fB\-\-enable\-creation\-time\fR
+Publishing a file means that a copy of the file is made in the local (!) 
database of the node.
+Indexing a file means that an index is added to the local (!) database with 
symbolic links to the file itself.
+The links will use the SHA-512 hash of the entire file as the filename.
+Indexing is generally significantly more efficient and the default choice.
+However, indexing only works if the indexed file can be read (using the same 
absolute path) by gnunet-service-fs.
+If this is not the case, indexing will fail (and gnunet\-publish will 
automatically revert to publishing instead).
+Regardless of which method is used to publish the file, the file will be 
slowly (depending on how often it is requested and on how much bandwidth is 
available) dispersed into the network.
+If you publish or index a file and then leave the network, it will almost 
always NOT be available anymore.
+.Bl -tag -width Ds
+.It Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME
+Use alternate config file FILENAME.
+If this option is not specified, the default is ~/.config/gnunet.conf).
+.It Fl D | \-disable\-extractor
+Disable use of GNU libextractor for finding additional keywords and metadata.
+.It Fl E | \-enable\-creation\-time
 Enable use of creation time timestamp in metadata.
-Setting this information will leak
-information about the time at which a file was made available.
-.TP
-\fB\-e\fR, \fB\-\-extract\fR
-Print the list of keywords that will be used for each file given the
-current options.
+Setting this information will leak information about the time at which a file 
was made available.
+.It Fl e | \-extract
+Print the list of keywords that will be used for each file given the current 
options.
 Do not perform any indexing or publishing.
-.TP
-\fB\-h\fR, \fB\-\-help\fR
+.It Fl h | \-help
 Print a brief help page with all the options.
-.TP
-\fB\-k \fIKEYWORD\fR, \fB\-\-key=KEYWORD\fR
-Additional key to index the content with (to add multiple keys,
-specify multiple times).
+.It Fl k Ar KEYWORD | Fl \-key= Ns Ar KEYWORD
+Additional key to index the content with (to add multiple keys, specify 
multiple times).
 Each additional key is case\-sensitive.
 Can be specified multiple times.
 The keyword is only applied to the top\-level file or directory.
-.TP
-\fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=\fILOGLEVEL\fR
+.It Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL
 Change the loglevel.
 Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.
-.TP
-\fB\-m \fITYPE:VALUE\fR, \fB\-\-meta=\fITYPE:VALUE\fR
-For the main file (or directory), set the metadata of the given TYPE
-to the given VALUE.
-Note that this will not add the respective VALUE to the set of
-keywords under which the file can be found.
-.TP
-\fB\-n\fR, \fB\-\-noindex\fR
+.It Fl m Ar TYPE:VALUE | Fl \-meta= Ns Ar TYPE:VALUE
+For the main file (or directory), set the metadata of the given TYPE to the 
given VALUE.
+Note that this will not add the respective VALUE to the set of keywords under 
which the file can be found.
+.It Fl n | \-noindex
 Executive summary: You probably don't need it.
 Do not index, full publishing.
-Note that directories, information for keyword search, namespace
-search and indexing data are always published (even without this
-option).
-With this option, every block of the actual files is stored in
-encrypted form in the block database of the local peer.
-While this adds security if the local node is compromised (the
-adversary snags your machine), it is significantly less efficient
-compared to on\-demand encryption and is definitely not recommended
-for large files.
-.TP
-\fB\-N \fIID\fR, \fB\-\-next=\fIID\fR
-Specifies the next identifier of a future version of the file to be
-published under the same pseudonym.
+Note that directories, information for keyword search, namespace search and 
indexing data are always published (even without this option).
+With this option, every block of the actual files is stored in encrypted form 
in the block database of the local peer.
+While this adds security if the local node is compromised (the adversary snags 
your machine), it is significantly less efficient compared to on\-demand 
encryption and is definitely not recommended for large files.
+.It Fl N Ar ID | Fl \-next= Ns Ar ID
+Specifies the next identifier of a future version of the file to be published 
under the same pseudonym.
 This option is only valid together with the \-P option.
-This option can be used to specify what the identifier of an updated
-version will look like.
+This option can be used to specify what the identifier of an updated version 
will look like.
 Note that specifying \-i and \-N without \-t is not allowed.
-.TP
-\fB\-p \fIPRIORITY\fR, \fB\-\-prio=\fIPRIORITY\fR
+.It Fl p Ar PRIORITY | Fl \-prio= Ns Ar PRIORITY
 Executive summary: You probably don't need it.
 Set the priority of the published content (default: 365).
-If the local database is full, GNUnet will discard the content with
-the lowest ranking.
+If the local database is full, GNUnet will discard the content with the lowest 
ranking.
 Note that ranks change over time depending on popularity.
-The default should be high enough to preserve the locally published
-content in favor of content that migrates from other peers.
-.TP
-\fB\-P \fINAME\fR, \fB\-\-pseudonym=\fINAME\fR
-For the top\-level directory or file, places the file into the
-namespace identified by the pseudonym NAME.
+The default should be high enough to preserve the locally published content in 
favor of content that migrates from other peers.
+.It Fl P Ar NAME | Fl \-pseudonym= Ns Ar NAME
+For the top\-level directory or file, places the file into the namespace 
identified by the pseudonym NAME.
 NAME must be a valid pseudonym managed by gnunet\-identity.
-.TP
-\fB\-r \fILEVEL\fR, \fB\-\-replication=\fILEVEL\fR
+.It Fl r Ar LEVEL | Fl \-replication= Ns Ar LEVEL
 Set the desired replication level.
-If CONTENT_PUSHING is set to YES, GNUnet will push each block (for the
-file) LEVEL times to other peers before doing normal "random"
-replication of all content.
-This option can be used to push some content out into the network
-harder.
-Note that pushing content LEVEL times into the network does not
-guarantee that there will actually be LEVEL replicas.
-.TP
-\fB\-s\fR, \fB\-\-simulate-only\fR
-When this option is used, gnunet\-publish will not actually publish
-the file but just simulate what would be done.
-This can be used to compute the GNUnet URI for a file without actually
-sharing it.
-.TP
-\fB\-t \fIID\fR, \fB\-\-this=\fIID\fR
-Specifies the identifier under which the file is to be published under
-a pseudonym.
+If CONTENT_PUSHING is set to YES, GNUnet will push each block (for the file) 
LEVEL times to other peers before doing normal "random" replication of all 
content.
+This option can be used to push some content out into the network harder.
+Note that pushing content LEVEL times into the network does not guarantee that 
there will actually be LEVEL replicas.
+.It Fl s | \-simulate-only
+When this option is used, gnunet\-publish will not actually publish the file 
but just simulate what would be done.
+This can be used to compute the GNUnet URI for a file without actually sharing 
it.
+.It Fl t Ar ID, \-this= Ns Ar ID
+Specifies the identifier under which the file is to be published under a 
pseudonym.
 This option is only valid together with the\ \-P option.
-.TP
-\fB\-u \fIURI\fR, \fB\-\-uri=\fIURI\fR
-This option can be used to specify the URI of a file instead of a
-filename (this is the only case where the otherwise mandatory filename
-argument must be omitted).
-Instead of publishing a file or directory and using the corresponding
-URI, gnunet\-publish will use this URI and perform the selected
-namespace or keyword operations.
-This can be used to add additional keywords to a file that has already
-been shared or to add files to a namespace for which the URI is known
-but the content is not locally available.
-.TP
-\fB\-v\fR, \fB\-\-version\fR
+.It Fl u Ar URI | Fl \-uri= Ns Ar URI
+This option can be used to specify the URI of a file instead of a filename 
(this is the only case where the otherwise mandatory filename argument must be 
omitted).
+Instead of publishing a file or directory and using the corresponding URI, 
gnunet\-publish will use this URI and perform the selected namespace or keyword 
operations.
+This can be used to add additional keywords to a file that has already been 
shared or to add files to a namespace for which the URI is known but the 
content is not locally available.
+.It Fl v | \-version
 Print the version number.
-.TP
-\fB\-V\fR, \fB\-\-verbose\fR
+.It Fl V | \-verbose
 Be verbose.
-Using this option causes gnunet\-publish to print progress information
-and at the end the file identification that can be used to download
-the file from GNUnet.
-.SH SETTING ANONYMITY LEVEL
-The \fB\-a\fR option can be used to specify additional anonymity
-constraints.
-If set to 0, GNUnet will publish the file non-anonymously and in fact
-sign the advertisement for the file using your peer's private key.
-This will allow other users to download the file as fast as possible,
-including using non-anonymous methods (DHT, direct transfer).
-If you set it to 1 (default), you use the standard anonymous routing
-algorithm (which does not explicitly leak your identity).
-However, a powerful adversary may still be able to perform traffic
-analysis (statistics) to over time infer data about your identity.
-You can gain better privacy by specifying a higher level of anonymity,
-which increases the amount of cover traffic your own traffic will get,
-at the expense of performance.
-Note that regardless of the anonymity level you choose, peers that
-cache content in the network always use anonymity level 1.
-.PP
+Using this option causes gnunet\-publish to print progress information and at 
the end the file identification that can be used to download the file from 
GNUnet.
+.El
+.Ss SETTING ANONYMITY LEVEL
+.Bl -tag -width Ds
+.It Fl a Ar LEVEL | Fl \-anonymity= Ns Ar LEVEL
+.El
+.sp
+The \fB\-a\fR option can be used to specify additional anonymity constraints.
+If set to 0, GNUnet will publish the file non-anonymously and in fact sign the 
advertisement for the file using your peer's private key.
+This will allow other users to download the file as fast as possible, 
including using non-anonymous methods (DHT, direct transfer).
+If you set it to 1 (default), you use the standard anonymous routing algorithm 
(which does not explicitly leak your identity).
+However, a powerful adversary may still be able to perform traffic analysis 
(statistics) to over time infer data about your identity.
+You can gain better privacy by specifying a higher level of anonymity, which 
increases the amount of cover traffic your own traffic will get, at the expense 
of performance.
+Note that regardless of the anonymity level you choose, peers that cache 
content in the network always use anonymity level 1.
+.Pp
 The definition of the ANONYMITY LEVEL is the following.
 0 means no anonymity is required.
-Otherwise a value of 'v' means that 1 out of v bytes of "anonymous"
-traffic can be from the local user, leaving 'v-1' bytes of cover
-traffic per byte on the wire.
-Thus, if GNUnet routes n bytes of messages from foreign peers (using
-anonymous routing), it may originate n/(v-1) bytes of data in the same
-time\-period.
-The time\-period is twice the average delay that GNUnet defers
-forwarded queries.
-.PP
+Otherwise a value of 'v' means that 1 out of v bytes of "anonymous" traffic 
can be from the local user, leaving 'v-1' bytes of cover traffic per byte on 
the wire.
+Thus, if GNUnet routes n bytes of messages from foreign peers (using anonymous 
routing), it may originate n/(v-1) bytes of data in the same time\-period.
+The time\-period is twice the average delay that GNUnet defers forwarded 
queries.
+.Pp
 The default is 1 and this should be fine for most users.
-Also notice that if you choose very large values, you may end up
-having no throughput at all, especially if many of your fellow
-GNUnet\-peers all do the same.
-.SH EXAMPLES
-.PP
-\fBBasic examples\fR
-.TP
-gnunet\-publish COPYING
-Index a file COPYING
-.TP
-gnunet\-publish \-n COPYING
-Publish a file COPYING
-.TP
-gnunet\-publish \-k gpl \-k test COPYING
+Also notice that if you choose very large values, you may end up having no 
throughput at all, especially if many of your fellow GNUnet\-peers all do the 
same.
+.Sh EXAMPLES
+.Ss BASIC EXAMPLES
+Index a file COPYING:
+.Pp
+.Dl gnunet-publish COPYING
+.Pp
+Publish a file COPYING:
+.Pp
+.Dl gnunet\-publish \-n COPYING
+.Pp
 Index a file COPYING with the keywords \fBgpl\fR and \fBtest\fR
-.TP
-gnunet\-publish \-m "description:GNU License" \-k gpl \-k test \-m 
"mimetype:text/plain" COPYING
-Index a file COPYING with description "GNU License", mime-type
-"text/plain" and keywords \fBgpl\fR and \fBtest\fR
-.PP
-\fBUsing directories\fR
-.TP
-mkdir gnu ; mv COPYING AUTHORS gnu/ ; gnunet\-publish \-k test \-k gnu \-D gnu/
-Index the files COPYING and AUTHORS with keyword \fBtest\fR and build
-a directory containing the two files.  Make the directory itself
-available under keyword \fBgnu\fR and disable keyword extraction using
-libextractor
-.TP
-gnunet\-publish \-n \-m "description:Kitten collection" \-k kittens kittendir/
-Neatly publish an image gallery in \fBkittendir/\fR and its subdirs
-with keyword \fBkittens\fR for the directory but no keywords for the
-individual files or subdirs (\-n).
+.Pp
+.Dl gnunet\-publish \-k gpl \-k test COPYING
+.Pp
+Index a file COPYING with description "GNU License", mime-type "text/plain" 
and keywords \fBgpl\fR and \fBtest\fR
+.Pp
+.Dl gnunet\-publish \-m "description:GNU License" \-k gpl \-k test \-m 
"mimetype:text/plain" COPYING
+.Pp
+.Ss USING DIRECTORIES
+Index the files COPYING and AUTHORS with keyword \fBtest\fR and build a 
directory containing the two files.
+Make the directory itself available under keyword \fBgnu\fR and disable 
keyword extraction using libextractor
+.Pp
+.Dl mkdir gnu ; mv COPYING AUTHORS gnu/ ; gnunet\-publish \-k test \-k gnu \-D 
gnu/
+.Pp
+Neatly publish an image gallery in \fBkittendir/\fR and its subdirs with 
keyword \fBkittens\fR for the directory but no keywords for the individual 
files or subdirs (\-n).
 Force description for all files.
-.PP
-\fBSecure publishing with namespaces\fR
-.TP
-gnunet\-publish \-P RIAA-2 \-t gpl COPYING
-Publish file COPYING with pseudonym RIAA-2 (\-P) and with identifier
-\fBgpl\fR (\-t) and no updates
-.TP
-gnunet\-publish \-P RIAA-2 \-t MUSIC \-N VIDEOS /home/ogg
-Recursively index /home/ogg and build a matching directory
-structure. Publish the top\-level directory into the namespace under
-the pseudonym RIAA\-2 (\-P) under identifier 'MUSIC' (\-t) and promise
-to provide an update with identifier 'VIDEOS' (\-N):
-.TP
-gnunet\-publish \-nV /var/lib/mysql
-Recursively publish (\-n) /var/lib/mysql and build a matching
-directory structure, but disable the use of libextractor to extract
-keywords (\-n).
-Print the file identifiers (\-V) that can be used to retrieve the
-files.
-This will store a copy of the MySQL database in GNUnet but without
-adding any keywords to search for it.
-Thus only people that have been told the secret file identifiers
-printed with the \-V option can retrieve the (secret?) files:
-.TP
-gnunet\-publish \-P MPAA-1 \-t root \-N next noise.mp3
-Create a namespace entry 'root' in namespace MPAA-1 and announce that
-the next update will be called 'next':
-.TP
-gnunet\-publish \-P MPAA-1 \-t next noise_updated.mp3
+.Pp
+.Dl gnunet\-publish \-n \-m "description:Kitten collection" \-k kittens 
kittendir/
+.Pp
+.Ss SECURE PUBLISHING WITH NAMESPACES
+Publish file COPYING with pseudonym RIAA-2 (\-P) and with identifier \fBgpl\fR 
(\-t) and no updates.
+.Pp
+.Dl gnunet\-publish \-P RIAA-2 \-t gpl COPYING
+.Pp
+Recursively index /home/ogg and build a matching directory structure.
+Publish the top\-level directory into the namespace under the pseudonym 
RIAA\-2 (\-P) under identifier 'MUSIC' (\-t) and promise to provide an update 
with identifier 'VIDEOS' (\-N):
+.Pp
+.Dl gnunet\-publish \-P RIAA-2 \-t MUSIC \-N VIDEOS /home/ogg
+.Pp
+Recursively publish (\-n) /var/lib/mysql and build a matching directory 
structure, but disable the use of libextractor to extract keywords (\-n).
+Print the file identifiers (\-V) that can be used to retrieve the files.
+This will store a copy of the MySQL database in GNUnet but without adding any 
keywords to search for it.
+Thus only people that have been told the secret file identifiers printed with 
the \-V option can retrieve the (secret?) files:
+.Pp
+.Dl gnunet\-publish \-nV /var/lib/mysql
+.Pp
+Create a namespace entry 'root' in namespace MPAA-1 and announce that the next 
update will be called 'next':
+.Pp
+.Dl gnunet\-publish \-P MPAA-1 \-t root \-N next noise.mp3
+.Pp
 Update the previous entry, do not allow any future updates:
-.SH FILES
+.Pp
+.Dl gnunet\-publish \-P MPAA-1 \-t next noise_updated.mp3
+.Pp
+.Sh FILES
 .TP
 ~/.config/gnunet.conf
 GNUnet configuration file
-.SH BUGS
-Report bugs to <https://bugs.gnunet.org/> or by sending electronic
-mail to <address@hidden>
-.SH SEE ALSO
-\fBgnunet\-auto\-share\fP(1)
-\fBgnunet\-fs\-gtk\fP(1)
-\fBgnunet\-search\fP(1)
-\fBgnunet\-download\fP(1)
-\fBgnunet.conf\fP(5)
-\fBextract\fP(1)
-\fBgnunet\-identity\fP(1)
-.PP
-The full documentation for
-.B gnunet
-is maintained as a Texinfo manual.
+.Sh SEE ALSO
+.Xr gnunet-auto-share 1 ,
+.Xr gnunet-fs-gtk 1 ,
+.Xr gnunet-search 1 ,
+.Xr gnunet-download 1 ,
+.Xr gnunet.conf 5 ,
+.Xr extract 1 ,
+.Xr gnunet-identity 1
+.sp
+The full documentation for gnunet is maintained as a Texinfo manual.
 If the
-.B info
-and
-.B gnunet
-programs are properly installed at your site, the command
-.IP
-.B info gnunet
-.PP
+.Xr info 1
+and gnunet programs are properly installed at your site, the command
+.Pp
+.Dl info gnunet
+.Pp
 should give you access to the complete handbook,
-.IP
-.B info gnunet-c-tutorial
-.PP
+.Pp
+.Dl info gnunet-c-tutorial
+.Pp
 will give you access to a tutorial for developers.
-.PP
-Depending on your installation, this information is also
-available in
-\fBgnunet\fP(7) and \fBgnunet-c-tutorial\fP(7).
+.sp
+Depending on your installation, this information is also available in
+.Xr gnunet 7 and
+.Xr gnunet-c-tutorial 7 .
+.\".Sh HISTORY
+.\".Sh AUTHORS
+.Sh BUGS
+Report bugs by using
+.Lk https://bugs.gnunet.org
+or by sending electronic mail to
+.Aq Mt address@hidden .

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]