Linux Labs

Storage / Stage 10 of 11

Rsync — mirrors, comparison and deletion boundaries

Not running Starting usually ~20 s
Leave the lesson

Step 5 of 8 · on a machine · 4 min

Fix the copy

One of the earlier syncs broke the site copy. Fix it so that it matches the source.

~/sync-lab/www-copy holds a copy of the site from www, and an extra level of directories has appeared in it. Pick the commands yourself, and check the result with a dry-run plan using -c.

Exercise · do it

Fix the site copy

In ~/sync-lab, make www-copy an exact copy of the contents of www: the same files, hidden ones included, with no extra directories or files. You may delete only inside www-copy; leave www and keep unchanged.

Sign in and start The machine is available after signing in

Goals · 0 of 2

  • Remove the extra directory from the copy not done yet
  • Bring the copy in line with the contents of www not done yet

Step goals

0 of 2
  • Remove the extra directory from the copy — not done yet
  • Bring the copy in line with the contents of www — not done yet
Ubuntu 24.04

Step goals

0 of 2
  • Remove the extra directory from the copy — not done yet
  • Bring the copy in line with the contents of www — not done yet
Loading…