![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Leap year K-shell script | p1jls02 | UNIX for Dummies Questions & Answers | 2 | 2 Weeks Ago 12:13 PM |
| Day of month and year to mmddyyyy | ajgwin | Shell Programming and Scripting | 2 | 05-19-2008 09:23 AM |
| How do I set my date in a unix script to 'new month | Agent704 | UNIX for Dummies Questions & Answers | 1 | 01-27-2008 10:58 AM |
| how to get the last month and year in UNIX | Vijay06 | UNIX for Advanced & Expert Users | 2 | 08-18-2007 05:25 AM |
| Execute a script on 4 week of the month | tbdo88 | Shell Programming and Scripting | 1 | 09-30-2006 09:08 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Script for tar and zip based on month & year
Hi Friends,
I'm doing on script which finds all the files with time stamp and makes them tar and zip, based on their respective month&year. for instance "mar-2004.tar.zip" will contain all the files which was created/accessed/modified on mar-2004. like this the entire filesystem should be taken for backup. please help me doing this. scripts from ksh or perl are most welcome. Thankx in advance Tuxfello |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Tuxfello, why don't you show us where you've gotten so far? And if you haven't started, do so.
Your problem is basically a 'find files on basis of mtime and act on them' kind of problem. Do a search on the site for using find (infact you'll find info on that in the FAQs). |
||||
| Google The UNIX and Linux Forums |