Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] rsync causes oS 13.1 to freeze
  • From: Carl Hartung <opensuse@xxxxxxxxxxxxx>
  • Date: Wed, 15 Jan 2014 09:00:36 -0500
  • Message-id: <20140115090036.0793d6a4@Marie-PC>
On Wed, 15 Jan 2014 15:34:13 +0200
ellanios82 ellanios82 wrote:

Hello List,

- occasionally rsync causes oS 13.1 to freeze , necessitating turn
off power to reboot.

- the rsync instruction, leading to freeze is :

................

rsync -avr --delete --delete-after --exclude=/ /home/ /mnt

.............................


Did anyone experience similar event?

'-a' = "archive mode" & is already recursive (your 'r' is redundant)

'--delete' and '--delete-after' are two forms of the same command. Use
one, or the other, but not both.

'--exclude= needs single quotes around the items to exclude and you
want to use multiple directives instead of combining them into one, e.g.
(mind the line wrap!):

'rsync -av --delete-after --exclude='/' --exclude='/home/' \
--exclude='/mnt/' {source} {target}

Don't forget to explicitly include or exclude the trailing slash on
{source} ... it is very important ... see 'man rsync'

hth & regards,

Carl

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References