Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] How to exclude a directory from rsync
Date: Sun, 14 Nov 2010 21:05:01
Message-Id: AANLkTikaGOEJA_b2aZwD1V-wotiwAU=ow3muDruBKYq9@mail.gmail.com
1 I am not sure how to exclude a directory on an ntfs partition from
2 being accessed during rsync. The attributes do not seem to be right
3 and it comes up with this error:
4 ===============================
5 'rsync -a -l -v --exclude "/mnt/User_WinXP/System Volume Information"
6 -e "ssh -c blowfish -l root" /mnt/User_WinXP/
7 10.10.10.25:/home/httpd/backup'
8
9 sending incremental file list
10 rsync: opendir "/mnt/User_WinXP/System Volume Information" failed:
11 Permission denied (13)
12
13 sent 975792 bytes received 3760 bytes 23048.28 bytes/sec
14 total size is 11957666624 speedup is 12207.28
15 rsync error: some files/attrs were not transferred (see previous
16 errors) (code 23) at main.c(1042) [sender=3.0.7]
17 ===============================
18
19 Is my syntax wrong?
20
21 This what mount shows for the partition (I use ntfs-3g):
22
23 /dev/sda7 on /mnt/User_WinXP type fuseblk
24 (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
25 --
26 Regards,
27 Mick

Replies

Subject Author
Re: [gentoo-user] How to exclude a directory from rsync "Stefan G. Weichinger" <lists@×××××.at>