Originally Posted by gvenkat
Pls help in providing the following requirement script...
1. Every Sunday
2. Find all files older than 1 day
3. Gzip these file
4. Tar up the gzipped files into one tar file.
5. Name the tarball with a date stamp indicating what day it was created, so we know that week's files are in the file
Thanks in advance.
Spell out your words. And if you need HELP
with a script, then post what you've written, and where you're stuck.
If you want someone to write it FOR you, sorry...we're not. There are thousands of bash scripting tutorials you can easily find with a quick Google search. Read the man pages for find and tar, and write your own script.