| | |
shell script fo backup archiving
![]() |
•
•
Join Date: Jul 2006
Posts: 4
Reputation:
Solved Threads: 0
hi there,
i am looking for some sample shell scripts where i could run this shell scipt after my backups are done and are lying in the directory.
what i want to accomplish is:
to run the script after the backups are done and to delete the past tar files according to the following:
it shud delete any one file from last year
one a month in quarter
one a week
one per day for current week...
so that we dont have to manually delete those file all the time.i want to autmoate the process.
please help!!!
i am looking for some sample shell scripts where i could run this shell scipt after my backups are done and are lying in the directory.
what i want to accomplish is:
to run the script after the backups are done and to delete the past tar files according to the following:
it shud delete any one file from last year
one a month in quarter
one a week
one per day for current week...
so that we dont have to manually delete those file all the time.i want to autmoate the process.
please help!!!
![]() |
Similar Threads
- How to su properly in a shell script (Shell Scripting)
- Problem with variables in Windows shell script (Windows NT / 2000 / XP)
- Using find in a bash shell script (Shell Scripting)
- Shell Script for Gnome 2.6 Print Manager. (Shell Scripting)
Other Threads in the Shell Scripting Forum
- Previous Thread: Script to compare dates?
- Next Thread: Makefile problem
| Thread Tools | Search this Thread |





