file-sync plugin missed recursive function
Test case is following:
1. Create group
Create a group 'file-file' with two file-sync members, objtype are all 'data'.
Member1 path to /tmp/1
Member2 path to /tmp/2
2. Make data
$mkdir -p /tmp/1/dir1
$mkdir -p /tmp/2
$echo "abc" /tmp/1/test
$echo "1111" /tmp/1/dir1/okay
3. Sync
$msynctool --discover file-file
$msynctool --sync file-file
Expected result:
All data under /tmp/1 are synced to /tmp/2
Actual result:
Only files under /tmp/1 are synced /tmp/2, subfolders are ignored
,
that is to say, only /tmp/1/test is synced, /tmp/1/dir1 are not