I just don't understand. Here is what I am trying to do:
Make a shell or PHP script that will:
1) Copy a file from one directory to another. It is a log file, so a shell script would work better.
2) Rename the file to include todays date. This is essential because I need to no overwrite it the next day.
3) gzip the file to save space.
I want to save stats for atleast a week so I can go on vacation and still access the raw logs.