10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need a script which moves files based on month. Example :
Apr 29 03:16 log4.txt
Apr 29 03:16 log5.txt
May 4 09:17 log1.txt
May 4 09:17 log2.txt
Move Apr files into Apr2015(Folder)
Move May files into May2015(Folder).
This is urgent requirement , if you can help me... (5 Replies)
Discussion started by: rockingvj
2. UNIX for Dummies Questions & Answers
URGENT HELP IS NEEDED!!
I am looking to move matching lines (01 - 07) from File1 and 77 tab the matching string from File2, to File3.txt. I am almost done but
- Currently, script is not printing lines to File3.txt in order.
- Also the matching lines are not moving out of File1.txt
... (1 Reply)
Discussion started by: High-T
3. Shell Programming and Scripting
I have a requirement like below.I have always 12 files got generated in my directory called /xx/out/
abc_2014_02_056.xml... (9 Replies)
Discussion started by: chigurupati.dwh
4. Shell Programming and Scripting
How do i get the last date of a month in Unix based on a parameter value.
My requirement is if i pass 03/05/2014 as parameter, then i shud get the output/return value as 2/28/2014
If i pass 03/31/2014 as parameter, the output/return value should be 03/31/2014 itself.
Also,... (2 Replies)
Discussion started by: galaxy_rocky
5. Shell Programming and Scripting
I have a file ff.txt that looks as follows
ABNA.txt and AC24.txt are the files in the folder named foo1. Based on the numbers in the ff.txt file, I want to extract the lines from the corresponding files in the foo1 folder and... (2 Replies)
Discussion started by: mohamad
6. UNIX for Dummies Questions & Answers
I am trying to extract lines from a text file given a text file containing line numbers to be extracted from the first file. How do I go about doing this? Thanks! (1 Reply)
Discussion started by: evelibertine
I want to move the files in to different folders based on the files month in the file timestamp.
All the september files in the directory should moves into the folder "sep_bkp_files" , August files in to aug_bkp_files folder...
Please help me to achive the above... (10 Replies)
Discussion started by: velava
8. Shell Programming and Scripting
I have a file named "GI_GR.csv" generated by SAP everyday. What I need is every last date of the month ( Jan 31, Feb 28/29, Mar 31, etc), the file is copied to subfolder named "archive" and rename it to "GI_GR_Jan.csv" for January and so on. What I want to ask is, how to check if... (8 Replies)
Discussion started by: kris.adrianto
9. Shell Programming and Scripting
I'm using HPUX B.11.23 ia64, the below sample log data was extracted from HPUX commnad: last -R.
root pts/ta userpc Wed Aug 11 09:46 - 20:21 (10:35)
root pts/ta userpc Wed Aug 11 09:44 - 20:10 (10:34)
root pts/ta userpc Wed Aug 11... (4 Replies)
Discussion started by: superHonda123
10. Shell Programming and Scripting
I have a file which will have rows like shown below,
RMR*IV*2223344441009*PO*40.31... (18 Replies)
Discussion started by: Muthuraj K