$ ./guess_the_languageLinux CLI
Linux CLI · hard · #37

What does the trailing slash on src/ change?

rsync -a src/ backup/
  1. It copies src's contents, not src
  2. It copies only the top-level files
  3. It deletes files missing from src
  4. It follows symlinks inside src
With src/, rsync syncs the directory's contents into backup; without it you get backup/src/.
Play Linux CLI ▸