rsync -avu --include 'tmp1/*/*.c' --include "*/" --exclude "*" tmp1 tmp2
The above command copies all the empty directories under tmp1/ . Is there any way to avoid it?
rsync -avu --include 'tmp1/*/*.c' --include "*/" --exclude "*" tmp1 tmp2
The above command copies all the empty directories under tmp1/ . Is there any way to avoid it?