home bbs files messages ]

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

   alt.os.linux.ubuntu      I preferred Xubuntu, seemed a bit faster      134,477 messages   

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

   Message 133,257 of 134,477   
   William Unruh to pinnerite   
   Re: rsync stalemate   
   18 Mar 23 17:00:43   
   
   XPost: alt.os.linux.mageia   
   From: unruh@invalid.ca   
      
   .* includes . and .. usually  and the globbing will be done by   
   bash in double quotes so it will include everything in your current sirectory   
   and its   
   parent. Try .?* to exclude . and .. But to let rsync do the globbing put   
   it into single quotes.   
      
      
   On 2023-03-18, pinnerite  wrote:   
   > I am trying to sync data from my /home folder on a mint 20.3 system to /home   
   > on a mint 21.1 system. I booted on a live flash drive.   
   >   
   > rsync reports:   
   >   
   > sent 325 bytes  received 181 bytes  1,012.00 bytes/sec   
   > total size is 0  speedup is 0.00 (DRY RUN)   
   > rsync error: some files/attrs were not transferred (see previous errors)   
   (code 23) at main.c(1207) [sender=3.1.3]   
   >   
   > The script that I used was this:   
   >   
   > #! /bin/sh   
   > # Backup_rsync.sh    backup drive sda5 to sdb5   
   > #   
   >   
   > mkdir /mnt/sda5   
   > mkdir /mnt/sdb5   
   >   
   > mount /dev/sda5 /mnt/sda5   
   > mount /dev/sdb5 /mnt/sdb5   
   >   
   > rsync -anrv --exclude=".*" include-from="myincludes.txt" --chown=alan:alan   
   --progress /mnt/sda5/alan/ /mnt/sdb5/alan/   
   >   
   > myincludes.txt holds only those "dot" files that I want copied. i.e.   
   >   
   > /mnt/sda5/alan/.sane   
   >   
   > Can anyone tell why this isn't working?   
   >   
   > TIA,  Alan   
   >   
   >   
   >   
      
   --- 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