Hidden files

Scott Wiersdorf scott at ipartner.net
Mon Feb 7 20:10:20 MST 2011


On Mon, Feb 07, 2011 at 09:04:24PM -0500, Y z wrote:
> 
> 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/

Your file list is being supplied to rsync from the shell's wildcard
expansion, and '*' doesn't match dotfiles. Try:

  # rsync -azPv ./ 10.1.1.1:/u2/ubuntu/

Scott
-- 
Scott Wiersdorf
scott at ipartner.net


More information about the rsync mailing list