Labthrift Labthrift What to buy. What to skip. Why.

Written 30 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.

Sync leftover-box files so only changes copy

After SSH works, sync leftover-box files with rsync so a leftover-box copy only moves what changed. You do not need a NAS sync app for this.

Copy a file to the leftover box from your laptop moves one whole leftover-box file from the laptop. Copy a leftover-box file without leaving the box copies a whole leftover-box file on the box. Pack leftover-box files into one leftover-box archive, shrink one leftover-box file, split a leftover-box file into smaller leftover-box pieces, and encode a leftover-box file so you can paste it pack, shrink, piece, or paste. Tonight you only sync leftover-box files so a leftover-box copy only moves what changed. rsync means leftover-box sync: it compares leftover-box source and leftover-box destination, then copies the leftover-box bits that differ. You are still only practicing in leftover-box home. The leftover box does not need a NAS sync app, Resilio, Syncthing, or a desktop for this one job.

Skip until SSH already works

SSH from the couch should already get you a leftover-box prompt. If you only need one leftover-box file from the laptop, that is copy a file to the leftover box from your laptop. If you only need a whole leftover-box file copy on the box, that is copy a leftover-box file without leaving the box. If you only need a leftover-box folder packed first, that is pack leftover-box files into one leftover-box archive. If you only need leftover-box shrink for one leftover-box file, that is shrink one leftover-box file. If you only need leftover-box pieces for a leftover-box paste limit, that is split a leftover-box file into smaller leftover-box pieces. If you only need leftover-box encode for paste, that is encode a leftover-box file so you can paste it. If you only need a leftover-box download, that is download a file onto the leftover box. Skip this whole note if you only need a house share other computers browse. That is a folder the house can open. Skip if you need a USB copy of the house folder. That is a backup of the leftover-box folder.

What this is

rsync means leftover-box sync. You give it a leftover-box source folder and a leftover-box destination folder. It copies leftover-box files that are new or changed, and it can skip leftover-box files that already match. Leftover-box -a is archive mode: it keeps leftover-box times and leftover-box permissions for a careful leftover-box copy. Leftover-box -v means leftover-box verbose so you see leftover-box names as they move. It is not a copy from your laptop of one whole leftover-box file. That is copy a file to the leftover box from your laptop. It is not a whole leftover-box file copy on the box every time. That is copy a leftover-box file without leaving the box. It is not leftover-box pack for a leftover-box folder. That is pack leftover-box files into one leftover-box archive. It is not leftover-box shrink for one leftover-box file. That is shrink one leftover-box file. It is not leftover-box pieces for a leftover-box paste limit. That is split a leftover-box file into smaller leftover-box pieces. It is not leftover-box encode for paste. That is encode a leftover-box file so you can paste it. It is not a download. That is download a file onto the leftover box. It is not a USB leftover-box backup. That is a backup of the leftover-box folder. It is not a house share other computers browse. That is a folder the house can open. It is not a careful leftover-box delete. That is delete a leftover-box file carefully.

Practice in leftover-box home

SSH in. Make sure leftover-box home is where you are sitting:

pwd

You want a path that ends in your login name. If not:

cd ~

Make two leftover-box practice folders in leftover-box home:

mkdir -p ~/sync-src ~/sync-dst

Put a leftover-box practice file in the leftover-box source:

seq 1 20 > ~/sync-src/a.txt

Optional second leftover-box file:

echo hello > ~/sync-src/b.txt

First leftover-box sync. The leftover-box trailing slash on leftover-box ~/sync-src/ means the leftover-box contents of leftover-box sync-src go into leftover-box sync-dst (not a leftover-box nested leftover-box sync-src folder inside leftover-box sync-dst):

rsync -av ~/sync-src/ ~/sync-dst/

Leftover-box -a is archive mode: it keeps leftover-box times and leftover-box permissions for a careful leftover-box copy. Leftover-box -v lists leftover-box names as they move. List both leftover-box sides:

ls ~/sync-src ~/sync-dst

You want leftover-box a.txt (and leftover-box b.txt if you made it) on both leftover-box sides. Change one leftover-box file on the leftover-box source:

echo changed >> ~/sync-src/a.txt

Run leftover-box sync again:

rsync -av ~/sync-src/ ~/sync-dst/

You want leftover-box a.txt to show up in the leftover-box verbose leftover-box list. Unchanged leftover-box files stay quiet. Only the leftover-box change moves. Optional leftover-box dry-run so you see what would move without writing:

rsync -avn ~/sync-src/ ~/sync-dst/

Leftover-box -n means leftover-box dry-run. Handy before a leftover-box sync you are unsure about.

If leftover-box rsync says No such file or directory, you are not in leftover-box home. pwd

Then cd ~, then try leftover-box ~/sync-src/ again.

Useful extras, still leftover-box home only

Skip leftover-box files under leftover-box /etc, SSH folders, or paths you do not own. Practice only in leftover-box home.

Night-one leftover-box practice should work entirely on the leftover box between two leftover-box home folders so you do not need two leftover-box machines for the lesson. Optional leftover-box aside later: from your laptop over SSH you can sync a leftover-box local leftover-box folder into leftover-box home, for example leftover-box rsync -av ./local-folder/ user@leftover:/home/user/sync-dst/. Keep that leftover-box aside short. The leftover-box main leftover-box path tonight is leftover-box on-box leftover-box practice.

Skip leftover-box --delete as tonight's leftover-box flag. Leftover-box --delete can erase leftover-box files on the leftover-box destination that are missing from the leftover-box source. Skip it until you are sure. Careful leftover-box delete only when you mean to throw leftover-box files away. That is delete a leftover-box file carefully.

Skip buying a NAS sync app, Resilio, or Syncthing for night one. Leftover-box rsync is enough for this leftover-box lesson.

If the leftover box says command not found for leftover-box rsync, install it, then try again:

sudo apt install rsync

Debian and Ubuntu Server usually already have it. That install is not a reason to buy a NAS sync app.

Do not forward port 22. Keep SSH on the house network: keep the leftover box on the house network.

When you are done practicing, throw away the leftover-box practice folders. Careful delete only. That is delete a leftover-box file carefully:

rm -i ~/sync-src/a.txt ~/sync-src/b.txt ~/sync-dst/a.txt ~/sync-dst/b.txt

Then, if the leftover-box folders are empty and you want them gone:

rmdir ~/sync-src ~/sync-dst

Skip rm -rf.

What this is not

This is not a copy from your laptop of one whole leftover-box file. That is copy a file to the leftover box from your laptop. It is not a whole leftover-box file copy on the box every time. That is copy a leftover-box file without leaving the box. It is not leftover-box pack for a leftover-box folder. That is pack leftover-box files into one leftover-box archive. It is not leftover-box shrink for one leftover-box file. That is shrink one leftover-box file. It is not leftover-box pieces for a leftover-box paste limit. That is split a leftover-box file into smaller leftover-box pieces. It is not leftover-box encode for paste. That is encode a leftover-box file so you can paste it. It is not leftover-box run-once-per-line. That is run one leftover-box command per leftover-box line. It is not a download. That is download a file onto the leftover box. It is not a fingerprint. That is check a leftover-box file fingerprint. It is not leftover-box compare of two leftover-box files as leftover-box text. That is see whether two leftover-box files are the same. It is not a careful leftover-box delete. That is delete a leftover-box file carefully. It is not a leftover-box folder list. That is see what's in a leftover-box folder. It is not a USB leftover-box backup. That is a backup of the leftover-box folder. It is not a house share other computers browse. That is a folder the house can open. It is not opening SSH to the internet so you can sync leftover-box files from a coffee shop. That is keep the leftover box on the house network.

What next

Need leftover-box pieces for a leftover-box paste limit first? Split a leftover-box file into smaller leftover-box pieces. Need leftover-box encode for paste first? Encode a leftover-box file so you can paste it. Need leftover-box shrink first? Shrink one leftover-box file. Need a leftover-box folder packed first? Pack leftover-box files into one leftover-box archive. Need one leftover-box file from the laptop instead? Copy a file to the leftover box from your laptop. Need a whole leftover-box file copy on the box? Copy a leftover-box file without leaving the box. Need a leftover-box download first? Download a file onto the leftover box. Need a leftover-box fingerprint after leftover-box sync? Check a leftover-box file fingerprint. Need leftover-box compare after leftover-box sync? See whether two leftover-box files are the same. Need leftover-box browse leftover-box folders then leftover-box copy one leftover-box file? Browse leftover-box folders then copy one file. Need the throwaway gone for real? Delete a leftover-box file carefully. Need a USB leftover-box backup of the house folder? A backup of the leftover-box folder. When key login is boring on every computer you use, turn off leftover-box password login once the key works. Keep SSH on the house network: keep the leftover box on the house network. Do not forward port 22.

Skip

Sources

Debian: rsync. Ubuntu: rsync. Official pages only. For the login, see SSH from the couch. For a whole leftover-box file copy on the box, see copy a leftover-box file without leaving the box. For one leftover-box file from the laptop, see copy a file to the leftover box from your laptop.

Also on this topic

SSH from the couchType commands on the leftover box from your laptop, on the house network. Password login first. Do not open this to the internet. Split a leftover-box file into smaller leftover-box piecesAfter SSH works (and after encode/paste when useful), split one leftover-box file into smaller leftover-box pieces with split so a leftover-box paste or copy fits size limits. You do not need a zip app for this. Copy a file to the leftover box from your laptopAfter SSH works, use scp to move one file without a USB stick. A short leftover name makes the typing shorter. You do not need a NAS for this. Copy a leftover-box file without leaving the boxAfter SSH works, copy a leftover-box file with cp so you can edit a spare without wrecking the original. You do not need a NAS for this. Pack leftover-box files into one leftover-box archiveAfter SSH works, pack leftover-box files into one leftover-box archive with tar so you can copy one leftover-box file instead of a leftover-box folder. You do not need a zip app for this. Shrink one leftover-box fileAfter SSH works, shrink one leftover-box file with gzip so a leftover-box copy is smaller. You do not need a zip app for this. Encode a leftover-box file so you can paste itAfter SSH works, turn a leftover-box file into pasteable text with base64 so you can copy small leftover-box text without a USB stick. You do not need a zip app for this. Download a file onto the leftover boxAfter SSH works, pull one file from a web address with curl so the leftover box has the file without a USB stick. You do not need a browser on the leftover box for this. Check a leftover-box file fingerprintAfter SSH works, check a leftover-box file with sha256sum so you know the file you pulled still matches the fingerprint you expected. You do not need a download manager for this. See whether two leftover-box files are the sameAfter SSH works, compare two leftover-box files with diff so you can tell if the spare still matches. You do not need a file viewer app for this. Delete a leftover-box file carefullyAfter SSH works, delete one leftover-box file with rm -i. Ask first. Skip rm -rf. You do not need a NAS for this. Browse leftover-box folders then copy one fileAfter SSH works, browse leftover-box folders with sftp so you can pick a leftover-box file and copy it. You do not need FileZilla or a NAS for this. Turn off leftover-box password login once the key worksAfter the laptop key login is boring, tell SSH to stop accepting the leftover-box password. The key is how you get in. A keyboard on the leftover box is the backup now. Keep the leftover box on the house networkSSH and Pi-hole belong on the house network. Skip this if you never opened the router settings. Do not forward port 22.