![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to scedule a script to be run on every second saturday in Month? | sourabhsharma | UNIX for Advanced & Expert Users | 5 | 05-09-2008 08:32 AM |
| How to check for Saturday or Sunday | harpreetanand | SUN Solaris | 5 | 08-11-2007 05:31 PM |
| Check if a day eg: saturday is the Last saturday of the month! | jobbyjoseph | Shell Programming and Scripting | 9 | 12-22-2006 03:28 AM |
| Date - Last Sunday thru Saturday | skymirror | Shell Programming and Scripting | 2 | 12-12-2005 01:18 PM |
| Append a field to the end of each line of a file based on searching another file. | ultimate | Shell Programming and Scripting | 2 | 03-29-2005 11:21 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Searching for a file, with name Last Sunday through Saturday
Hi List,
I need write a script that looks for a file with name File_03-09_to_03-15_data.txt (File_LastSunday_to_LastSaturday_data.txt). If this file is not exists i have to look for a pervious weeks file like File_03-02_to_03-08_data.txt. This loop should continue untill it get a file or no file in the last 2 months. Please share some logic. I am pretty new to shell scripting.. Thanks RejiRaj |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|