[NTLUG:Discuss] rsync and non-regular files

Kenneth Loafman kenneth at loafman.com
Mon Dec 4 14:18:52 CST 2006


Ed Leach wrote:
> 
> Thanks Kenneth.
> 
> tune2fs is what I couldn't find.
> 
> Here is the command I'm using:
> 
> rsync -rvpogt --delete /home/ed 192.168.0.108:/home/backup/
> 
> Other than the "non-regular file" notice on a few directories, it's
> working.

The -a option is equivalent to -rlptgoD.  Is is possible that the
non-regular files you're seeing are actually symlinks to directories?
In that case, you'd want to recreate the symlink rather than copying the
entire directory over again.

...Ken





More information about the Discuss mailing list