Sponsored Content
Top Forums UNIX for Advanced & Expert Users Search files with specfic extention and later search content Post 302214618 by lovi_v on Monday 14th of July 2008 11:35:55 AM
Old 07-14-2008
Search files with specfic extention and later search content

Hi,

I would appriciate if somebody can help me figure out how to search for all the *.xml file under a specific directory and subdirectroies (/home/username) and later search of content "<start>" inside the xml file returned by search.


-Lovin.V
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to search files containing a specific word in the content

Hi all, Lets say I have 3 files a.txt and b.txt and c.txt. a.txt has the following text ==================== apple is good for health b.txt has the following text ==================== apple is pomme in french c.txt has the following text ==================== orange has citric acid... (1 Reply)
Discussion started by: amjath78
1 Replies

2. UNIX for Dummies Questions & Answers

Search File content.

Hi, I have a problem when searching a file, the file containt with the following: 95671660:Jones:Sarah:45:sales manager 93272658:Smith:John:43:technical manager 98781987:Williams:Nick:35:computer officer 99893878:Brown:Sarah:12:electrician 95673456:Couch:David:26:chef... (3 Replies)
Discussion started by: elenatec
3 Replies

3. Linux

How to search file content

Hi folks, What will be an easy and effective way searching file content? E.G I need to find a WORD or a PHRASE on a file? TIA B.R. satimis (4 Replies)
Discussion started by: satimis
4 Replies

4. Shell Programming and Scripting

search and replace the content

Hi All,sorry for inconvience....please find the attachement for my question i am unable to paste the question here....please help me in slving thisthanksk.k (4 Replies)
Discussion started by: G.K.K
4 Replies

5. Shell Programming and Scripting

Help with Compare and search content in directory

Hello, How to search in directory by comparing some string with the content of directory. Ex: I want to compare abhi string with the content of backup directory. i.e want to check that is there any file in backup directory having name ... (3 Replies)
Discussion started by: AbhijitIT
3 Replies

6. SuSE

Search all files based on first and in all listed files search the second patterns

Hello Linux Masters, I am not a linux expert therefore i need help from linux gurus. Well i have a requirement where i need to search all files based on first patterns and after seraching all files then serach second pattern in all files which i have extracted based on first pattern.... (1 Reply)
Discussion started by: Black-Linux
1 Replies

7. Shell Programming and Scripting

Need to build Shell Script to search content of a text file into a folder consist several files

Have to read one file say sourcefile containing several words and having another folder containing several files. Now read the first word of Sourcefile & search it into the folder consisting sevral files, and create another file with result. We hhave to pick the filename of the file in which... (3 Replies)
Discussion started by: mukesh.baranwal
3 Replies

8. Shell Programming and Scripting

search for content in files. Name of files is in another file. Format as report.

Hi I have multiple files in a folder and one file which contains a list of files (one on each line). I was to search for a string only within these files and not the whole folder. I need the output to be in the form File1<tab>string instance 2<tab> string instance 2<tab>string instance 3... (6 Replies)
Discussion started by: pkabali
6 Replies

9. Shell Programming and Scripting

Search & Replace content of files using gsub in awk

Hi,I have 2 files master.txt & reference.txt as shown below & i require o/p as mentioned in file 3 using awk but content is not replacing properlymaster.txt:... (15 Replies)
Discussion started by: siramitsharma
15 Replies

10. UNIX for Dummies Questions & Answers

Search content and print its next value

HI frinds I have file have content like: "MSISDN: 4247242" But it may be in different field/column in every line. i want command to search content MSISDN and print its next numeric value "4247242" from each row. (7 Replies)
Discussion started by: dodasajan
7 Replies
GOOGLE-SITEMAPGEN(1)					      General Commands Manual					      GOOGLE-SITEMAPGEN(1)

NAME
google-sitemapgen -- simple script to automate production of sitemaps for a webserver SYNOPSIS
google-sitemapgen [--testing] [--help] [--config=config.xml] DESCRIPTION
This manual page documents briefly the google-sitemapgen command. This manual page was written for the Debian distribution because the original program does not have a manual page. google-sitemapgen is a program that automatically produces sitemaps for a webserver, in the Google Sitemap Protocol (GSP). Sitemap files are XML listings of content you make available on your web server. The files can be directly submitted to search engines as hints for the search engine web crawlers as they index your web site. This can result in better coverage of your web content in search engine indices, and less of your bandwidth spent doing it. OPTIONS
--config=config.xml Specify the location of the configuration config.xml --testing Used to test the sitemap generator configuration. --help Display a summary of options and exit. SEE ALSO
/usr/share/doc/google-sitemapgen/examples/example_config.xml.gz AUTHOR
Google Sitemap was originally written by Google Code <opensource@google.com>. This manual page was written by Kumar Appaiah <akumar@ee.iitm.ac.in> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub- lished by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. GOOGLE-SITEMAPGEN(1)
All times are GMT -4. The time now is 05:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy