10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
How to get last month files. Ex : 1st Jan i have to get Dec 31 days files and on Feb 1st i have to get Jan 31 days files and on Mar 1st i have to get Feb 28 days files. Below are the example files with date and timestamp.
aaa.txt.timestamp
aaa.txt.timestamp
aaa.txt.timestamp
Please... (7 Replies)
Discussion started by: kiranparsha
7 Replies
2. Shell Programming and Scripting
Hi,
I need to delete 3 month old files in my logpath. This path contains several logs and other important files
The file names are be like this
sl_details.env
tomcatfiles_03062014.log
application_zur_03.062014.log
I need to delete only tomcatfiles logs. I wrote this command.
can... (7 Replies)
Discussion started by: nag_sathi
7 Replies
3. Shell Programming and Scripting
Hi,
I need all file names in a folder which has date >= 10th of last month,
Example
: files in folder
AUTO_F1_20140610.TXT
BUTO_F1_20140616.TXT
CUTO_F1_20140603.TXT
FA_AUTO_06012014.TXT
LA_AUTO_06112014.TXT
MA_AUTO_06212014.TXT
ZA_AUTO_06232014.TXT
Output:
AUTO_F1_20140610.TXT... (9 Replies)
Discussion started by: nani1984
9 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I need to find all files other than first two files dates & last file date for month and month/year wise list.
lets say there are following files in directory
Mar 19 2012 c.txt
Mar 19 2012 cc.txt
Mar 21 2012 d.txt
Mar 22 2012 f.txt
Mar 24 2012 h.txt
Mar 25 2012 w.txt
Feb 12... (16 Replies)
Discussion started by: Makarand Dodmis
16 Replies
5. Shell Programming and Scripting
Hello All,
I am trying to come up with a shell script to count a specific word in a logfile on each day of this month, last month and the month before. I need to produce this report and email it to customer.
Any ideas would be appreciated! (5 Replies)
Discussion started by: pnara2
5 Replies
6. Filesystems, Disks and Memory
In Linux Advance server
I want to write one script for backing up files for a specific date like 24/07/2008. (3 Replies)
Discussion started by: akm9999
3 Replies
7. Shell Programming and Scripting
I want to write script for backing up archive logs files for specific date.
please give me idea for that. (2 Replies)
Discussion started by: akm9999
2 Replies
8. UNIX for Advanced & Expert Users
hello
i need a way to list files modified in a specific month and move them to a specific directry , i mean somthing like :
find . -modifiedtime "May" -print -exec /usr/bin/mv newdirectory
thank u (1 Reply)
Discussion started by: omer_ome
1 Replies
9. Solaris
hello
i need a way to list files modified in a specific month and move them to a specific directry , i mean somthing like :
find . -modifiedtime "May" -print -exec /usr/bin/mv newdirectory
thank u (1 Reply)
Discussion started by: omer_ome
1 Replies
10. HP-UX
hello
i need a way to list files modified in a specific month and move them to a specific directry , i mean somthing like :
find . -modifiedtime "May" -print -exec /usr/bin/mv newdirectory
thank u (1 Reply)
Discussion started by: omer_ome
1 Replies