Re: [expert] Script help needed

2003-06-02 Thread Anne Wilson
On Monday 02 Jun 2003 7:29 am, Ray Warren wrote: > On Sun, Jun 01, 2003 at 08:29:26PM +0100, Anne Wilson wrote: > > I want to set up an additional task in the daily cron. The > > script I wrote is > > > > mv -fu /Data/Backup/GnomeCard.vcf /Data/Backup/GnomeCard.vcf.bak > > after this step /Data/Ba

Re: [expert] Script help needed

2003-06-02 Thread Ray Warren
On Sun, Jun 01, 2003 at 08:29:26PM +0100, Anne Wilson wrote: > I want to set up an additional task in the daily cron. The script I > wrote is > > mv -fu /Data/Backup/GnomeCard.vcf /Data/Backup/GnomeCard.vcf.bak after this step /Data/Backup/GnomeCard.vcf no longer exists if it has been modified

Re: [expert] Script help needed

2003-06-02 Thread Steven Broos
So if I completely understand it, there is no .bak file in the beginning ? mv and cp don't see this file, so they assume the sourcefile is newer than the not-existing destination file. Steven On Sun, 2003-06-01 at 21:56, Anne Wilson wrote: On Sunday 01 Jun 2003 8:44 pm, you wrote: > (I'm ma

[expert] Script help needed

2003-06-02 Thread Anne Wilson
I want to set up an additional task in the daily cron. The script I wrote is mv -fu /Data/Backup/GnomeCard.vcf /Data/Backup/GnomeCard.vcf.bak cp -fpu /home/anne/GnomeCard.vcf /Data/Backup/GnomeCard.vcf mv -fu /Data/Backup/Anne.ics /Data/Backup/Anne.ics.bak cp -fpu /home/anne/KOrganizer/Anne.ics