Task:
gulp.task('rsync, function() {
return gulp.src(['dist/core/**/*', '!dist/core/cache/**/*'])
.pipe(rsync({
root: 'dist/core/',
hostname: '**** @ ***** . tech',
destination: '******/core/',
include: ['*.htaccess'],
exclude: ['**/Thumbs.db', '**/*.DS_Store'],
recursive: true,
archive: true,
silent: false,
compress: true
}))
});