skipping non-regular file

Martin Pool mbp at samba.org
Mon Apr 22 06:14:01 EST 2002


On 22 Apr 2002, Jean-Hugues BELPOIS <Jean-Hugues.Belpois at univ-brest.fr> wrote:
> Hello,
> 
> When using rsync 2.4.6 on a linux machine to copy a complete web directory
> (rescursively) on an other linux machine on my local network.
> For one file I got : skipping non-regular file www/svg_mysql/mysql.sock
> This file got the "s" flag set (and I suppose that is the problem).

That means it is something called a "unix domain socket".  It's not a
real file, but rather a portal through which other programs can talk
to (in this case) mysql.

In general you don't need to copy things like this because the program
will recreate them when it is restarted, and they are not useful
without a program listening.

But --archive will do it for you anyhow.

> ps : sorry for my broked english...

Better than my French! :)

> pps  : here is the syntax of the command
> 
> #rsync --stats --compress --rsh=/usr/bin/ssh --recursive --times --perms --l
> inks --delete /var/www 10.10.10.10::www-info-j

If you're using a :: destination, then --rsh has no effect because ssh
is not used.

-- 
Martin 




More information about the rsync mailing list