Originally Posted by akamel
Just let me know how to find one year old files and Tar them, I read the Man pages and got that, please correct me if I'm wrong:
find $SOURCE -type f -mtime +31 | xargs tar -jcvf backup.tar.bz2
- Use CODE Tags on your code
- If you DID read the man pages, you'd see how to find files that are one year old. You either haven't, or you ignored what lleb and I told you.
- You haven't read the man pages on the tar command.
We have given you advice, but you ignore it. AGAIN..we WILL NOT
do this for you. Also, AGAIN
, have you read ANY of the very easily-found bash scripting tutorials (such as...the one in my posting signature???) Tried to Google anything? There are THOUSANDS of sample scripts that do what you're looking for...again, showing some effort of your own would help.