[Klug-general] rsync and exclude

Laurence Southon laurence at southon.uk.net
Sat Oct 8 08:07:06 UTC 2011


On 08/10/11 01:42, sharon kimble wrote:
> *.avi 
> *.rar

Are these down a directory level relative to the root of the transfer?
The single '*' recursion stops at the first '/'.

You probably want:

**.avi
**.rar

You should be able to test using the dry-run and verbose options to
rsync to see what is included/excluded.

LS
-- 
Laurence Southon
Tiger Computing, Bexley
www.tiger-computing.co.uk



More information about the Kent mailing list