9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies
2. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
3. Shell Programming and Scripting
I need a script which should watch a directory for a file with specific directory.
If it finds a file in directory, it should search for few specific keyword in the file. if the keyword exists, it should trim string from specific column.
The file should be moved to another directory and the a... (8 Replies)
Discussion started by: akashdeepak
8 Replies
4. UNIX for Dummies Questions & Answers
My input is as below :
/splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt
/splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt
/splunk/scrubbed/loyal/IFIND.HELLO.WROC.txt
/splunk/scrubbed/triumph/ifind.triumph.txt
From the above input I want to extract the file names only .
Basically I want to... (5 Replies)
Discussion started by: IshuGupta
5 Replies
5. Web Development
I am seeing the following error appear numerous times in my Apache error log:
I have my Apache config configured as below, so I would expect indexing not to occur on this directory as it falls under the parent /web directory.
Strangely all the IP address, including this example, all... (5 Replies)
Discussion started by: crmpicco
5 Replies
6. Shell Programming and Scripting
Hi folks,
I have an query that is let say i have to search in an xml file an tag that is <abcdef> now this xml file is at /opt/usr/local so one fastest way to achieve this is go to this location by cd /opt/usr/local and then do grep like this... grep -i abcdef but for this I must know the... (4 Replies)
Discussion started by: punpun66
4 Replies
7. Shell Programming and Scripting
I am trying to do the following task :
export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)
However, it's not working. What's the way to change to directory and search some file in that directory in single command
Please help. (2 Replies)
Discussion started by: saurau
2 Replies
8. Shell Programming and Scripting
got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies
9. Solaris
Hi,
I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP.
The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies
gnunet-directory(1) General Commands Manual gnunet-directory(1)
NAME
gnunet-directory - display directories
SYNOPSIS
gnunet-directory [OPTIONS] (FILENAME)*
DESCRIPTION
gnunet-directory lists the contents of one or more GNUnet directories. A GNUnet directory is a binary file that contains a list of GNUnet
file-sharing URIs and meta data. The names of the directory files must be passed as command-line arguments to gnunet-directory.
-c FILENAME, --config=FILENAME
configuration file to use (useless option since gnunet-directory does not really depend on any configuration options)
-h, --help
print help page
-L LOGLEVEL, --loglevel=LOGLEVEL
Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG.
-v, --version
print the version number
NOTES
A GNUnet directory is a file containing a list of GNUnet URIs and meta data. The keys can point to files, other directories or files in
namespaces. In other words, a GNUnet directory is similar to UNIX directories. The difference to tar and zip is that GNUnet directory
does not contain the actual files (except if they are really small, in which case they may be inlined), just symbolic (links), similar to
directories with symbolic links in UNIX filesystems. The benefit is that the individual files can be retrieved separately (if desired) and
if some of the files are inserted to another node in GNUnet, this just increases their availability but does not produce useless duplicates
(for example, it is a better idea to publish a collection of pictures or compressed sound files using a GNUnet directory instead of pro-
cessing them with archivers such as tar or zip first). Directories can contain arbitrary meta data for each file.
If a directory has missing blocks (for example, some blocks failed to download), GNUnet is typically able to retrieve information about
other files in the directory. Files in a GNUnet directory have no particular order; the GNUnet code that generates a directory can reorder
the entries in order to better fit the information about files into blocks of 32k. Respecting 32k boundaries where possible makes it eas-
ier for gnunet-directory (and other tools) to recover information from partially downloaded directory files.
At the moment, directories can be created by gnunet-fs-gtk and gnunet-publish. Just like ordinary files, a directory can be published in a
namespace.
GNUnet directories use the (unregistered) mimetype application/gnunet-directory. They can show up among normal search results. The direc-
tory file can be downloaded to disk by gnunet-download(1) for later processing or be handled more directly by gnunet-fs-gtk(1).
REPORTING BUGS
Report bugs by using mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet-developers@gnu.org>
SEE ALSO
gnunet-fs-gtk(1), gnunet-publish(1), gnunet-search(1), gnunet-download(1)
GNUnet 25 Feb 2012 gnunet-directory(1)