10 More Discussions You Might Find Interesting
grep pattern filename
To search for the pattern in all files in the current directory and the sub-directories recursively, what needs to be substituted in filename? (1 Reply)
Discussion started by: ravisingh
2. Shell Programming and Scripting
how to recursively search for a list of keywords in a given directory??
suppose i have kept all the keywords in a file called "procnamelist" (in separate line)
and i have to search recursively in a directory called "target/dir"
if i am not doing recursive search then... (4 Replies)
Discussion started by: neelmani
3. Shell Programming and Scripting
New to shell scripting.
I am trying to count number of files in a directory that contains lot of sub-directories. Any input on this greatly appreciated.
thank you! (15 Replies)
Discussion started by: lramsb4u
4. Shell Programming and Scripting
I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find )
The directory structure looks like :-
When I tried the following command , it movies all the log files... (8 Replies)
Discussion started by: frintocf
5. UNIX for Dummies Questions & Answers
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Discussion started by: pointers
6. UNIX for Dummies Questions & Answers
I am very new to unix as well as shell scripting.
I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file
Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
7. UNIX for Dummies Questions & Answers
I have d1,d2,d3 directories
d1,d2 and d3 also have subdirctories.
All these directories have files like date_filename.txt
so I want to find the files recusively for a particular date from... (1 Reply)
Discussion started by: jagadish_gaddam
8. Shell Programming and Scripting
I have files named
and i wish to rename these files to
aaa.jpg and 345.jpg. i.e inital number,_,next number should be removed form the file name. Please let me know how can i do it. (2 Replies)
Discussion started by: vasuarjula
9. Shell Programming and Scripting
find . | xargs -s 47518 can list all the files and directories recursively , is there any possibility to copy only files from directories and subdirectoreis once it is listed. Please help
Thans & Regards
Uma (3 Replies)
Discussion started by: umapearl
10. UNIX for Dummies Questions & Answers
I've tried different combinations of the ls command using the above-mentioned options but none of them are giving me the output I am looking for.
Objective: To get a recursive listing of all subdirectories from a particular starting point. For example, if my starting... (5 Replies)
Discussion started by: HLee1981