Re: backup in crontab

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

 



On Tue, 21 Oct 2003 13:56:38 +0800, kent emia <kent-cdr@xxxxxxxxxxxxxxx>
wrote:

> i made a simple backup in my evolution folder running at every 12 noon
> this is ok. 

> but how can i 'cp' (copy) stating the current date and append it to
> the name of the folder ex. 'evolution-10-21-2003'

Try something like this:

$ cp bla bla-`date`

`date` will put date output as filename. To customize it read either man
cp and man date and probably yours shell manual.

-- 
  ,--------,
  |`.    .'|  Konrad Kosmowski
  |.'`--'`.|  K_Kosmowski@xxxxx
  '--------'


-- 
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