Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] rsync causes oS 13.1 to freeze
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/01/14 14:00, Carl Hartung wrote:
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}

Carl,

I believe the OP intended '/home/' to be the {source} and '/mnt' to be
the {target}, i.e. he wants to copy the contents of /home into /mnt.

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

hth & regards,

Carl


- --
Bob Williams
System: Linux 3.11.6-4-desktop
Distro: openSUSE 13.1 (x86_64) with KDE Development Platform: 4.12.0
Uptime: 12:00pm up 5 days 16:15, 5 users, load average: 0.99, 1.19, 1.14
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlLWockACgkQ0Sr7eZJrmU4D7ACfV2LqXFbUulLwbvkrcIs7YM+9
kp8AoJNgUvzIrJNZHnmSX1H045rCAHj/
=84nC
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups