Scripting Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I made up a script that backs up my mysql database into a compressed
file. What I want to do now it make it only keep the last 4 days,
anything older than that it will delete, basically the same thing
logrotate does.

Is there a way for me to do this in a bash script?

The files are named: sql_10142003.sql.gz

Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux