syncs a folder now or a file