On Fri, May 19, 2000 at 09:57:00AM +0000, Lang Zhi wrote:
-> Hi.
-> I need to backup some files every day. So, we use cron right ?
-> The file format is like this : abc.20000519.
-> So the next day, the new backup file will be named abc.20000520 and so on.
-> 
-> The problem here is, how do i get the "20000520", "20000521" and ... ?
-> This is actually the current date. I try to use the "date" , then "cut" and 
-> "tr" it, but it doesn't work.

You can define the format of the output from date. "info date" or "man
date" for more information.

-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

Reply via email to