10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I have a problem, I have a large group of archive files in a folder some are later versions of the same archive, the only difference btween them is that the archiving program we use appends the name with a code for it to keep track of in its data base, and the modification date.
I am starting... (6 Replies)
Discussion started by: Paul Walker
2. Shell Programming and Scripting
Looking for a little help here.
I have 1000's of text files within a multiple folders.
There are folders for each year and each month, and within each monthly folder there are... (4 Replies)
Discussion started by: whegra
3. Shell Programming and Scripting
Everyday we will receive 33 files in our source directory(/prd/pk) with the current date. Once our jobs are completed all the 33 files immediately will be moved to backup folder (/prd/pk/backup).
Now, I need to check between source file directory (/prd/pdk) and backup file directory... (3 Replies)
Discussion started by: suresh_target
4. Shell Programming and Scripting
I have some text files as shown below. I would like to add the values of each string. Your help would be appreciated!!
PRS 6 (2 Replies)
Discussion started by: arch
5. Shell Programming and Scripting
I've to count lines from string of files names then to show sum output of lines.
read x = F1 F2 F3
F1 = 12 lines
F2 = 14 lines
F3 = 10 lines
what I did is:
echo $x >|temp
for x in $(cat temp)
wc -l < $x (3 Replies)
Discussion started by: Aviv
6. Shell Programming and Scripting
Output: (4 Replies)
Discussion started by: Misa-Misa
7. UNIX for Dummies Questions & Answers
I'm looking for a command that will search a directory (and all subdirectories) and give me a file count for the number of files that contain specific characters within its filename. e.g. I want to find the number of files that contain "-a.jpg" in their name.
All the searching I've... (6 Replies)
Discussion started by: murphysm
8. UNIX for Advanced & Expert Users
I have a number of simulation log files and I want to get a total count of the "PASSED" expression in them. If I use grep -c <files>, grep would give a tally for each file. I just want one number, the total count. How do I do that? (4 Replies)
Discussion started by: CrunchMunch
9. UNIX for Dummies Questions & Answers
I need help.
I want to run the command:
less filename | wc -l
But on multiple files in a directory
So to get those files I would run
ls -ltr | grep filename_2000123 or of course ls -ltr *filename_2000123*
But I am having a problem running a loop to get a count of each... (1 Reply)
Discussion started by: llsmr777
10. Shell Programming and Scripting
I have some question and need some guidance how to sort and match multiple files.
1. all the data in the files are numbers
2. each sorted file have their own ouput. e.g. test.csv -> test_sorted.csv
3. Then, I need to match all... (4 Replies)
Discussion started by: nazri76