-S also updates the dir cache.