From: usenet.16@scottsonline.org.uk.invalid   
      
   On 02/09/2025 03:40, Gordon wrote:   
   > On 2025-09-01, yossarian <> wrote:   
   >> On Mon, 1 Sep 2025 21:20:17 +0200   
   >> Monsieur wrote:   
   >>   
   >>> Mike Scott wrote:   
   >>>> On 01/09/2025 17:01, Monsieur wrote:   
   >>> [...]   
   >>>>   
   >>>> Any reason not to use rsync? Run as root and use -a option /after/   
   >>>> reading the manpage carefully.   
   >>>   
   >>> That manpage is 5009 lines long, no thank you. I'll figure it out with   
   >>> trial and error and internet searches.   
   >>>   
   >> There is GUI app for rsync named Grsync in repository, very ease to   
   >> use.   
   >>   
   > Yes, but the tricky part is understanding what the switches do.   
   >   
      
   my usual usage:   
      
   input file structure:   
   /a/b/c   
   /a/b/d   
      
   output place:   
   /x   
      
   rsync -a /a /x   
   produces   
   /x/a/b/c   
   /x/a/b/d   
      
   rsync -a /a/ /x   
   =>   
   /x/b/c   
   /x/b/d   
      
   note the extra '/'. It sort-of means '/*'   
      
   -a archive mode - set dates/permissions/ownership if possible, and work   
   recursively.   
   -n do nothing, just pretend   
   -v verbose   
   --delete remove anything in the destination that doesn't belong (care!)   
      
   Try it on a couple of simple examples first. And do check the man page.   
   Long, but if you check these options it's a good start.   
      
   E&OE :-}   
      
      
   --   
   Mike Scott   
   Harlow, England   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|