Thanks for your answer. I am using rsync version 3.0.7 protocol 30 on Ubuntu 10.04 Lynx Lucid to synchronize the content of my Samsung laptop with an external hard-drive from Western Digital. Both hard-drives don&#39;t seem to have the same filesystem type (ext3 versus vfat): can it be due to this? Should I reformat my external hard-drive in ext3?<br>

<br>$ rsync --version<br>rsync  version 3.0.7  protocol version 30<br><br>$ df -h -T<br>Sys. fich.    Type    Tail. Occ. Disp. %Occ. Monté sur<br>/dev/sda1     ext3    178G   69G  101G  41% /<br>none      devtmpfs   1002M  328K 1002M   1% /dev<br>

none         tmpfs   1007M  1,6M 1005M   1% /dev/shm<br>none         tmpfs   1007M   88K 1006M   1% /var/run<br>none         tmpfs   1007M     0 1007M   0% /var/lock<br>none         tmpfs   1007M     0 1007M   0% /lib/init/rw<br>

none       debugfs    178G   69G  101G  41% /var/lib/ureadahead/debugfs<br>/dev/sdb1     vfat     75G   55G   21G  73% /media/DISK_TOTO<br><br>$ mount<br>/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)<br>proc on /proc type proc (rw)<br>

none on /sys type sysfs (rw,noexec,nosuid,nodev)<br>none on /sys/fs/fuse/connections type fusectl (rw)<br>none on /sys/kernel/debug type debugfs (rw)<br>none on /sys/kernel/security type securityfs (rw)<br>none on /dev type devtmpfs (rw,mode=0755)<br>

none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)<br>none on /dev/shm type tmpfs (rw,nosuid,nodev)<br>none on /var/run type tmpfs (rw,nosuid,mode=0755)<br>none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)<br>

none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)<br>none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)<br>binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)<br>gvfs-fuse-daemon on /home/toto/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=toto)<br>

/dev/sdb1 on /media/DISK_TOTO type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)<br><br>
$ fsck -N /home/<br>
fsck de util-linux-ng 2.17.2<br>
[/sbin/fsck.ext2 (1) -- /home] fsck.ext2 /home <br>
<br>
$ fsck -N /media/DISK_TOTO/Backup/<br>
fsck de util-linux-ng 2.17.2<br>
[/sbin/fsck.ext2 (1) -- /media/DISK_TOTO/Backup] fsck.ext2 /media/DISK_TOTO/Backup<br>
<br><div class="gmail_quote">2011/1/29 Scott Wiersdorf <span dir="ltr">&lt;<a href="mailto:scott@ipartner.net">scott@ipartner.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">On Sat, Jan 29, 2011 at 11:48:27AM +0100, Walrus Foolhill wrote:<br>
&gt; I am trying to synchronize the content of the directory my_dir/ from /home<br>
&gt; to /backup. This directory contains a file which name has a double quote in<br>
&gt; it, such as to&quot;to. Here is my rsync command:<br>
&gt;<br>
&gt; rync -Cazh /home/my_dir/ /backup/my_dir/<br>
<br>
</div>&quot;rsync&quot;<br>
<div class="im"><br>
&gt; And I get the following message:<br>
&gt;<br>
&gt; rsync: mkstemp &quot;/backup/my_dir/.to&quot;to.d93PZr&quot; failed: Invalid argument (22)<br>
<br>
</div>For what it&#39;s worth, using your command and filename (to&quot;to) both work<br>
fine for me on OS X (both rsync v2.6.9 and v3.0.7), FreeBSD 4.7 (rsync<br>
v2.6.9), and Linux 2.6.18 (rsync v3.0.7) and going between them. Can<br>
you give more information on your system, rsync version, etc.?<br>
<br>
Scott<br>
--<br>
Scott Wiersdorf<br>
<a href="mailto:scott@ipartner.net">scott@ipartner.net</a><br>
<font color="#888888">--<br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/%7Eesr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
</font></blockquote></div><br>