Y z
2011-02-08 02:04:24 UTC
Wondering why rsync isn't copying hidden files. I thought (google told me so) that rsync doesn't treat dot files specially.
Source/destination rsync: 3.0.7
command:
# rsync -azPv * 10.1.1.1:/u2/ubuntu/
sending incremental file list
sent 96026 bytes received 388 bytes 38565.60 bytes/sec
total size is 21562786526 speedup is 223647.88
The source files:
# find . |wc -l;du -sm .
8975
du: cannot access `./.gvfs': Permission denied #dunno why
21786 .
# ls -al|head -10
ls: cannot access .gvfs: Permission denied
total 8440
drwxr-xr-x 102 awacs awacs 8192 2011-02-07 20:22 .
drwxr-xr-x 4 root root 4096 2010-04-23 06:11 ..
-rw-r--r-- 1 awacs awacs 0 2009-10-25 21:02 1.jpg
drwxr-xr-x 13 awacs awacs 4096 2010-05-11 00:34 acx
drwx------ 3 awacs awacs 4096 2008-05-24 22:23 .adobe
-rwxrwxrwx 1 awacs awacs 54 2006-11-02 22:38 .airsnortrc
-rw-r--r-- 1 awacs awacs 155511 2008-02-03 21:46 aish-ani-maamin.aac
-rw-r--r-- 1 awacs awacs 155511 2008-02-03 21:53 aish.jpg
-rw-r--r-- 1 awacs awacs 189 2009-09-15 23:38 .asoundrc
The destination:
# find . |wc -l;du -sm .
4329
21282 .
# ls -al|head -10
total 19560
drwxr-xr-x 31 awacs awacs 12288 2011-02-07 20:44 .
drwxrwxrwx 10 awacs 818 4096 2011-01-26 15:05 ..
-rw-r--r-- 1 awacs awacs 0 2009-10-25 21:02 1.jpg
drwxr-xr-x 13 awacs awacs 4096 2010-05-11 00:34 acx
-rw-r--r-- 1 awacs awacs 155511 2008-02-03 21:46 aish-ani-maamin.aac
-rw-r--r-- 1 awacs awacs 155511 2008-02-03 21:53 aish.jpg
drwxr-xr-x 101 awacs awacs 12288 2011-02-07 19:54 awacs
-rwxr-xr-x 1 root root 18106 2010-05-09 10:15 b43-fwcutter_012-1_i386.deb
-rwxr-xr-x 1 root root 57568 2010-05-09 10:15 b43.htm
?
Source/destination rsync: 3.0.7
command:
# rsync -azPv * 10.1.1.1:/u2/ubuntu/
sending incremental file list
sent 96026 bytes received 388 bytes 38565.60 bytes/sec
total size is 21562786526 speedup is 223647.88
The source files:
# find . |wc -l;du -sm .
8975
du: cannot access `./.gvfs': Permission denied #dunno why
21786 .
# ls -al|head -10
ls: cannot access .gvfs: Permission denied
total 8440
drwxr-xr-x 102 awacs awacs 8192 2011-02-07 20:22 .
drwxr-xr-x 4 root root 4096 2010-04-23 06:11 ..
-rw-r--r-- 1 awacs awacs 0 2009-10-25 21:02 1.jpg
drwxr-xr-x 13 awacs awacs 4096 2010-05-11 00:34 acx
drwx------ 3 awacs awacs 4096 2008-05-24 22:23 .adobe
-rwxrwxrwx 1 awacs awacs 54 2006-11-02 22:38 .airsnortrc
-rw-r--r-- 1 awacs awacs 155511 2008-02-03 21:46 aish-ani-maamin.aac
-rw-r--r-- 1 awacs awacs 155511 2008-02-03 21:53 aish.jpg
-rw-r--r-- 1 awacs awacs 189 2009-09-15 23:38 .asoundrc
The destination:
# find . |wc -l;du -sm .
4329
21282 .
# ls -al|head -10
total 19560
drwxr-xr-x 31 awacs awacs 12288 2011-02-07 20:44 .
drwxrwxrwx 10 awacs 818 4096 2011-01-26 15:05 ..
-rw-r--r-- 1 awacs awacs 0 2009-10-25 21:02 1.jpg
drwxr-xr-x 13 awacs awacs 4096 2010-05-11 00:34 acx
-rw-r--r-- 1 awacs awacs 155511 2008-02-03 21:46 aish-ani-maamin.aac
-rw-r--r-- 1 awacs awacs 155511 2008-02-03 21:53 aish.jpg
drwxr-xr-x 101 awacs awacs 12288 2011-02-07 19:54 awacs
-rwxr-xr-x 1 root root 18106 2010-05-09 10:15 b43-fwcutter_012-1_i386.deb
-rwxr-xr-x 1 root root 57568 2010-05-09 10:15 b43.htm
?
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html