01-15-2011
how to find a string in file under multiple level dirs
Hi, i am asking a command to find a string in file(s) from multiple level directory structures.
help would be really appreciated.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
I would like to find all files which contain "client1.dat". I would like to search from the current directory and all subs and print out all the files that have this. Any help would be greatly appreciated.
Thanks much. (10 Replies)
Discussion started by: ecupirate1998
10 Replies
2. Shell Programming and Scripting
I have a directory which is /home/mark/files/ , inside this particular I have a bunch of filles (see examples below)
TST_SHU_00014460_20090302.txt
TST_SHU_00016047_20090302.txt
TST_SHU_00007838_20090303.txt
TST_SHU_00056485_20090303.txt
TST_SHU_00014460_20090303.txt... (2 Replies)
Discussion started by: fierusbentus
2 Replies
3. Shell Programming and Scripting
Hey all.. This should be simple but stoopid here can't get head around it! I have many directories, say 100 each with many files inside. I need a script to traverse through the dirs, find most recent file in each dir and add it to a tar file.
I can find the files with something like
for... (1 Reply)
Discussion started by: bobdung
1 Replies
4. Shell Programming and Scripting
I'm sure this has been asked before but I couldn't find it with the search. I have a script that looks for files and then moves to another location for further processing. My problem is I can't seem to prune the .s* directories. It doesn't break anything just wanted a cleaner process.
Here... (4 Replies)
Discussion started by: jcalisi
4 Replies
5. Red Hat
To find a word from multiple level files:
"find . -type f -exec grep {} +" is working on UNIX machines but not working on Linux machine. What is the equivalent command on Linux to find the word from multiple level files?
Input is appreciated. (3 Replies)
Discussion started by: ywu081006
3 Replies
6. Shell Programming and Scripting
Can someone tell me how I can do this?
e.g:
Say file1.txt contains:
today is monday
the 22 of
NOVEMBER
2010
and file2.txt contains:
the
11th
month
of
How do i replace the word NOVEMBER with (5 Replies)
Discussion started by: tuathan
5 Replies
7. Shell Programming and Scripting
Hi,
I want find multiple string in one file using find coomand.
And keeping it in one variable.grep is not working. (5 Replies)
Discussion started by: vivek1489
5 Replies
8. Emergency UNIX and Linux Support
Hi Experts,
I want to find all the dirs , subdirs on the sever which start with "sr".
Can anyone let me know command for the same.
find . -type d -name sr* I tried this but it is not working.
Thanks,
Ajay (4 Replies)
Discussion started by: ajaypatil_am
4 Replies
9. Shell Programming and Scripting
Hey guys. I know pratically 0 about Linux, so could anyone please give me instructions on how to accomplish this ?
The distro is RedHat 4.1.2 and i need to find and replace a multiple lines string in several php files across subdirectories.
So lets say im at root/dir1/dir2/ , when i execute... (12 Replies)
Discussion started by: spfc_dmt
12 Replies
10. Shell Programming and Scripting
Hello,
I need to replace xml version='1.1' with xml version='1.0' in all xml files under /app/jenkins/ in all dir and sub dirs in my CentOS VM, I tried below command but it didn't help, looks like I'm missing a character somewhere.
grep -rl "xml version='1.1'" . | xargs sed -i 's/"xml... (2 Replies)
Discussion started by: mahesh Madpathi
2 Replies
LEARN ABOUT DEBIAN
entagged
ENTAGGED(1) General Commands Manual ENTAGGED(1)
NAME
entagged - Java Audio File Tagger
DESCRIPTION
Entagged provides a convenient way of changing the value of tag fields, either manually, or automatically via the freedb database.
Entagged can also do a lot of organization work. You can rename your files from their tag in any way you like, including complex directory
structures. You can also tag the files from their filename, this avoid copying all the information by hand.
Best of all, Entagged hides all the different format complexity, with one unique interface, you can work with mixed file formats eg. you
can use freedb with a mixed album of WMA, MP3 and OGG files without worrying!
Features
* Support for OGG Vorbis files - MP3 (id3v1 and id3v2 tags) files - FLAC Files - MPC(MP+) Musepack Files - APE Monkey Audio Files - WAV
files
* Handles all files independently of their type (allows to batch files even from mixed types)
* Edit essential tag information (Artist-Album-Title-TrackNb-Comment-Genre-Year) easily
* Rename files from their tag using any of the above infos with any pattern
* Tag files (again using the above fields) from their filename with any pattern
* Pattern can use filename but also directory name, easy to create a well structured audio files repository
* freedb search using automatically computed cddb id's (the way it is meant to be used). Simply select some files that represent an album,
then query and tag.
* freedb search using manually searched cddb id. When entagged can't find any match, you can search freedb for a given artist/album and
find the correct match yourself, then ask entagged to tag the files.
* Supports Multi langage (currently only english,french and spanish) (contributors appreciated)
* Recursive processing of all the above operations, easily !
* Text transformation: capitalize, uppercase roman numerals, lowercase, and more that can be used either while tagging or renaming.
* Separate freedb and audioformats libraries that can be used independently by anyone who want to read and/or write meta data to audio
files
DOCUMENTAION
Please see /usr/share/doc/entagged/readme.html
HOMEPAGE
http://entagged.sourceforge.net/
AUTHOR
This manual page was written by Varun Hiremath <varunhiremath@gmail.com>, for the Debian project (but may be used by others).
October 20, 2006 ENTAGGED(1)