Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gffindxmlattr(1) [debian man page]

GFFINDXMLATTR(1)														  GFFINDXMLATTR(1)

NAME
gffindxmlattr - Find XML extended attributes by XPath query SYNOPSIS
gffindxmlattr [ -d depth ] [ -F delim ] [ XPath | -f XPath-file ] path DESCRIPTION
gffindxmlattr finds XML extended attributes by a specified XPath expression, and displays path names and the corresponding XML extended attribute names. When a file is specified, XML extended attributes associated to the file are searched if there is the read permission. When a directory is specified, files or directories within the depth are recursively searched. When 0 is specified for the depth, the specified directory is searched. If the depth is not specified, all files and directories under the specified directory are searched. If the negative value is specified, gffindxmlattr returns error. Directories that do not have execute permission cannot be searched. gffindxmlattr displays path names and the corresponding XML extended attribute separated by the delim. OPTIONS
-d depth specifies the depth to be searched recursively. -F delim specifies a delimiter that separates the path name and the XML extended attribute name. By detault, the delimiter is TAB. -f XPath-file specifies a file that contains XPath expression. -? displays usage. SEE ALSO
gfxattr(1) Gfarm 18 August 2009 GFFINDXMLATTR(1)

Check Out this Related Man Page

GFXATTR(1)																GFXATTR(1)

NAME
gfxattr - Manipulate extended attributes in Gfarm file system SYNOPSIS
gfxattr [ -s | -g | -l | -r ] [ -x ] [ -c | -m ] [ -f xattrfile ] file [ xattrname ] DESCRIPTION
gfxattr manipulates extended attributes and XML extended attributes of a specified file. An extended attribute consists of an attribute name and an attribute value, which are arbitrary strings. An XML extended attribute is an extended attribute having an XML attribute value. Since XML extended attributes have a different name space from extended attributes, the same attribute name can be used. When the -x option is specified, XML extended attributes are manipulated. It is possible to search XML extended attributes by XPath query using gffindxmlattr command. All files and directories in Gfarm file system can keep extended attributes. When removing a file or directory, the associated extended attributes are also removed. Either -s, -g, -l, or -r option should be specified. OPTIONS
-s sets a new value with an extended attribute xattrname for a specified file. With the -f option, the value can be specified by the file xattrfile instead of by the standard input. When neither -c nor -m option is specified, the extended attribute is overwritten if it is already set. -g reads a value with an extended attribute xattrname for a specified file. -l display a list of extended attributes for a specified file. -r removes a extended attribute xattrname for a specified file. -x manipulates XML extended attributes. -c sets a new extended attribute if it is not set. This option is used with the -s option. -m modifies the extended attribute if there it is. This option is used with the -s option. -f xattrfile With the -s option, reads an extended attribute from the specified xattrfile instead of from the standard input. With the -g option, writes the extended attribute to the specified xattrfile instead of to the standard output. -? displays usage. SEE ALSO
gffindxmlattr(1) Gfarm 18 August 2009 GFXATTR(1)
Man Page

13 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Replace spaces recursively

Hi, I have a directory with files and sub-directories (sub-directory depth might go upto 5). There will be one or more spaces (continuously or anywhere in the file name) which need to be replaced with HYPHENs. How can i replace all SPACE occurances with HYPHEN in file/dir names recursively. (2... (5 Replies)
Discussion started by: prvnrk
5 Replies

2. UNIX for Dummies Questions & Answers

help please

i am new here and i am a new user of unix.my problem is : i want to find all the names of files under the directory /etc/and at any depth that contains the letters 'st'.how i can do it with using a)ls b)find for (a) i am thinking something like ls -R|grep *st* but is wrong any ideas... (3 Replies)
Discussion started by: nektarios4u
3 Replies

3. UNIX for Dummies Questions & Answers

chmod mode as permision drwxrwsr-x

All, As first i searched in google but no result . Also i searched in the forum as well. I am having a directory with permision drwxrwsr-x i want to create a new directory with same permision . I know S denotes stick bit i tried to creat a directory and modify by chmod as chmod... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

4. Filesystems, Disks and Memory

Recursive file processing

I'm developing a generic script to catenate all files found in a given directory. The problem I've got is that the depth of the given directory is unknown, so I end up with some catenated directories. My unix isn't that hot and I'm at a loss. Heres an extract from the script cd $1 for i in... (4 Replies)
Discussion started by: k_mufasa
4 Replies

5. Shell Programming and Scripting

for

Hi, How can I read all the files recursively from $path modifying this code? $path="/" for file in *.txt do <read_all_the_txt_files> done (6 Replies)
Discussion started by: DNAx86
6 Replies

6. OS X (Apple)

I have searched, but I am confused

Please forgive me if a similar question has already been asked.;) I have searched and found many possible solutions to my query. I would appreciate it if someone can point me to a thread to accomplish my task. I am trying to change values from a Master file to a File to be modified Since... (1 Reply)
Discussion started by: virgo
1 Replies

7. BSD

You have another version of autoconf...

Hi gurus, I'm a FreeBSD noob who has generated an error, searched everywhere for solutions, and has just joined this forum (and searched it) hoping you can help. I really need to get mysql server installed again ASAP, and preferably with Sphinx as a storage engine, or my web app in dev is... (2 Replies)
Discussion started by: userunx
2 Replies

8. Shell Programming and Scripting

using cut command right to left

Hi guys I have variable that contains a full directory path. var=/tmp/a/b/c/d I want to be able to extract different directories in the path right to left while using / as the delimiter. so for e.g. if in the above example if I want c then I want it to be in the middle of 1st and... (2 Replies)
Discussion started by: alinaqvi90
2 Replies

9. Programming

Makefile for more than 1 executable program

Can anyone give me a makefile that creates 3 exe?for example, let's suppose i have the following files: blah1.c blah1.h blah2.c blah2.h blah3.c blah3.h i've searched and searched but so far i was not able to complete it. (4 Replies)
Discussion started by: bashuser2
4 Replies

10. UNIX for Dummies Questions & Answers

Check if last char in a line is '.' and if not, insert it

Hi all, I've searched for this but couldn't seem to find the answer I'm looking for. I have a text file that looks like this: sgea0447 Earnings followed the same path. earnings followed the same path sgea0448 Economic growth slowed further. economic growth slowed further... (13 Replies)
Discussion started by: pxalpine
13 Replies

11. UNIX for Dummies Questions & Answers

Recursive Find on file size

Is there a way to use the find command to recursively scan directories for files greater than 1Gb in size and print out the directory path and file name only? Thanks in advance. (6 Replies)
Discussion started by: jimbojames
6 Replies

12. Shell Programming and Scripting

Script to compare files recursively using sdiff

Hi All, I have been surfing to get some idea on how to compare same files from two different paths. one path will have oldfiles directory and another path will have newfiles directory. Each main directories will have sub-directories in them and each sub-directories inturn will have... (3 Replies)
Discussion started by: Optimus81
3 Replies

13. Shell Programming and Scripting

Code snippet to cut XML files based on record length

I want to do FTP an Huge XML file to mainframe server using AIX server Since my file size is huge, i want to split the XML file based on a delimiter , the record delimiter should be set after every 27000 bytes of data and then do the ftp This is done becos the data send to the mainframe must... (1 Reply)
Discussion started by: vishwanath001
1 Replies