home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 106,493 of 107,822   
   Carlos E.R. to bad sector   
   Re: pushing my bash luck   
   19 Sep 24 19:46:15   
   
   From: robin_listas@es.invalid   
      
   On 2024-09-19 14:18, bad sector wrote:   
   >   
   > I want to devise a shutdown cron script that will make a dated rsync   
   > backup of any directory under a particular path that had been written to   
   > during the session and then shut down.   
   >   
   > The rsync command itself would look something like   
   >   
   > rsync -ahcEWXd /x/trees-planted/ /x/trees-$date (format 2024-09-24-hr-m)   
   >   
   > The part that's over my head is for the script to know what directory   
   > (under /x in this case) had been written to.   
      
   Use dates. Copy files that have been changed since the timestamp of the   
   previous backup, ie, have a more recent date of change.   
      
      
   --   
   Cheers, Carlos.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca