Written 30 Aug 2026. This is a how-to, not a product card.
Sync files so only changes copy
After SSH works, sync files with rsync so a copy only moves what changed. You don't need a NAS sync app for this.
A whole-file copy every time is wasteful once a folder already has most of the files. Tonight you sync two folders: rsync. Rsync copies what changed. Start with two folders in home so you don't need two machines for the lesson. You are still only practicing on the computer. It does not need a NAS sync app for this one job.
Skip until SSH already works
SSH from the couch should already get you a prompt. If one file from the laptop is what you want, that is copy a file to the computer from your laptop. If a whole file copy on the computer is what you want, that is copy a file without leaving the computer. If a folder packed is what you want, that is pack files into one archive. Skip --delete for this practice. It can erase files on the destination.
What this is
rsync syncs files so only changes copy. You type rsync -av ~/sync-src/ ~/sync-dst/. The trailing slash on the source means the contents of sync-src go into sync-dst, not a nested sync-src folder. -a is archive mode: it keeps times and permissions. -v lists names as they move. -n is dry-run: see what would move without writing. Skip --delete until you are sure. It can erase files on the destination that are missing from the source.
Practice rsync in home
SSH in. Make sure home is where you sit:
pwd
You want a path that ends in your login name. If not:
cd ~
Make two tiny folders:
mkdir -p ~/sync-src ~/sync-dst
seq 1 20 > ~/sync-src/a.txt
Optional second file:
echo hello > ~/sync-src/b.txt
First sync. The trailing slash on ~/sync-src/ means the contents go into sync-dst:
rsync -av ~/sync-src/ ~/sync-dst/
List both sides:
ls ~/sync-src ~/sync-dst
You want a.txt (and b.txt if you made it) on both sides. Change one file on the source:
echo changed >> ~/sync-src/a.txt
Run sync again:
rsync -av ~/sync-src/ ~/sync-dst/
You want a.txt to show up in the verbose list. Unchanged files stay quiet. Only the change moves. Optional dry-run so you see what would move without writing:
rsync -avn ~/sync-src/ ~/sync-dst/
-n means dry-run. Handy before a sync you are unsure about.
Debian and Ubuntu usually already have rsync. Don't make apt the job. If rsync is missing:
sudo apt install rsync
Then stop. That install is not the lesson.
When you are done, throw the practice files away. Careful delete only. That is delete a file carefully. Skip rm -rf.
rm -i ~/sync-src/a.txt ~/sync-src/b.txt ~/sync-dst/a.txt ~/sync-dst/b.txt
Then, if the folders are empty and you want them gone:
rmdir ~/sync-src ~/sync-dst
Skip rm -rf.
Useful extras, still home only
Tonight's practice should work entirely on the computer between two home folders so you don't need two machines for the lesson. Optional aside later: from your laptop over SSH you can sync a local folder into home, for example rsync -av ./local-folder/ user@lab:/home/user/sync-dst/. Keep that aside short. The main path tonight is practice on the computer.
Skip --delete as tonight's flag. It can erase files on the destination that are missing from the source. Skip it until you are sure. Careful delete only when you mean to throw files away. That is delete a file carefully.
Skip buying a NAS sync app, Resilio, or Syncthing for tonight. rsync is enough for this lesson.
What this is not
This is not a copy from your laptop of one whole file. That is copy a file to the computer from your laptop. It is not a whole file copy on the computer every time. That is copy a file without leaving the computer. It is not pack for a folder. That is pack files into one archive. It is not shrink for one file. That is shrink one file. It is not a USB backup. That is a backup of the folder. It is not a house share. That is a folder the house can open. It is not opening SSH to the internet. That is keep the computer on the house network. Don't forward port 22.
What next
Need pieces first? Split a file into smaller pieces. Need one file from the laptop? Copy a file to the computer from your laptop. Need a whole file copy on the computer? Copy a file without leaving the computer. Need a folder packed? Pack files into one archive. Keep SSH on the house network: keep the computer on the house network. Don't forward port 22.
Skip
- Skip if SSH still fails. Finish SSH from the couch first.
- Skip
--deletefor this practice. It can erase files on the destination. Skip it until you are sure. - Skip sync into
rmpipelines. Careful delete only: delete a file carefully. - Skip buying a NAS sync app, Resilio, or Syncthing for tonight. Debian and Ubuntu already ship
rsync(orsudo apt install rsync). - Skip if you actually need the USB backup. That is a backup of the folder.
- Skip if you only need a house share other computers browse. That is a folder the house can open.
- Skip files under
/etc, SSH folders, or paths you don't own. Practice only in home. - Skip
rm -rf. Careful delete only: delete a file carefully. - Skip opening SSH to the internet so you can do this from a coffee shop. That is keep the computer on the house network. Don't forward port 22.
Sources
Debian: rsync. Ubuntu: rsync. Official pages only. For the login, see SSH from the couch. For a whole file copy on the computer, see copy a file without leaving the computer.