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.

Pack leftover-box files into a zip a laptop can open

After SSH works, pack leftover-box files into a zip with zip so a Windows laptop can open them. You do not need a zip desktop app for this.

See how big one leftover-box folder is showed size. Unpack a leftover-box zip you already have unpacked a zip. Pack leftover-box files into one leftover-box archive packed a leftover-box archive Linux tools expect. Shrink one leftover-box file shrunk one file to .gz. Tonight is create: a .zip a laptop can open without tar. You are still only practicing in home. The leftover box does not need a zip desktop app, WinZip, 7-Zip, FileZilla, or a NAS for this one job.

Skip until SSH already works

SSH from the couch should already get you a prompt. If you only need to unpack a zip you already have, that is unpack a leftover-box zip you already have. If you only need a Linux archive, that is pack leftover-box files into one leftover-box archive. If you only need to shrink one file, that is shrink one leftover-box file. 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

zip means pack files into a .zip. You type zip, then -r, then a zip path, then a folder in home. Night one is zip -r of one small folder in home. -r means recursive, so the folder's files go in. Practice from home so the zip stores zip-me/hi.txt, not a long /home/... path. unzip -l lists names without unpacking. That list command already lives on unpack a leftover-box zip you already have; using it here is fine. It is not unpack. That is unpack a leftover-box zip you already have. It is not tar. That is pack leftover-box files into one leftover-box archive. It is not gzip. That is shrink one leftover-box file. It is not split. That is split a leftover-box file into smaller leftover-box pieces. It is not size of one folder. That is see how big one leftover-box folder is. It is not a zip desktop app, WinZip, 7-Zip, FileZilla, or a NAS.

Pack a practice folder in home

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

pwd

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

cd ~

Make a tiny practice folder in home only:

mkdir -p ~/zip-me

echo hello leftover box > ~/zip-me/hi.txt

Sit in home, then pack a relative folder name. Do not pack a long /home/... path:

cd ~

zip -r ~/zip-me.zip zip-me

List names. Do not unpack yet:

unzip -l ~/zip-me.zip

You want zip-me/hi.txt in that list.

Skip zip without -r when the thing is a folder. That stores only the empty folder name, not the files inside.

Skip zip /, zip /etc, and zip of whole home as night one. Night one is one small folder in home.

If zip or unzip says command not found, install both, then try again:

sudo apt install zip unzip

Debian and Ubuntu often do not ship zip by default. That install is not a reason to buy a zip app.

If zip says zip error: Nothing to do, you are not in home or the practice folder is missing. pwd, then cd ~, then pack zip-me again.

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

rm -i ~/zip-me/hi.txt

rm -i ~/zip-me.zip

Delete practice folders the same careful way after they are empty. Skip rm -rf.

Useful extras, still home only

Want the zip to store only the file name, not the folder path?

zip -j ~/hi.zip ~/zip-me/hi.txt

-j means junk paths. The zip stores only hi.txt. Clean that extra zip up the same careful way:

rm -i ~/hi.zip

Want a size of the folder next to the zip, using the size note you just did?

du -sh ~/zip-me ~/zip-me.zip

That look is see how big one leftover-box folder is. It is not tonight's job. It is a useful extra after you already packed.

Skip zip -e encryption, zip -P, and --remove-files as night one. Encryption and a password on the command line are later. --remove-files is a tar flag. Zip's close cousin is zip -m, which deletes after packing. Tonight you keep the practice folder.

Skip zip of huge photo libraries as tonight's lesson. Night one is one small folder in home.

Skip tar, gzip, 7z, rar, bzip2, xz, and zstd as tonight's lesson. Unpack of a zip you already have is unpack a leftover-box zip you already have.

Skip files under /etc, SSH folders, other disks, USB sticks, and /srv as tonight's lesson. Practice only in home.

Skip buying WinZip, 7-Zip, or a zip desktop app. zip -r is enough for this pack.

What this is not

This is not unpack of a zip you already have. That is unpack a leftover-box zip you already have. It is not a Linux archive. That is pack leftover-box files into one leftover-box archive. It is not shrink of one file to .gz. That is shrink one leftover-box file. It is not split. That is split a leftover-box file into smaller leftover-box pieces. It is not size of one folder. That is see how big one leftover-box folder is. It is not a nested drawing. That is see leftover-box folders as a tree. It is not a copy from your laptop. That is copy a file to the leftover box from your laptop. It is not a careful delete. That is delete a leftover-box file carefully. It is not a USB 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 zip desktop app, WinZip, 7-Zip, FileZilla, or a NAS. It is not opening SSH to the internet so you can pack leftover-box files from a coffee shop. That is keep the leftover box on the house network. Do not forward port 22.

What next

Need to unpack a zip you already have? Unpack a leftover-box zip you already have. Need a Linux archive instead? Pack leftover-box files into one leftover-box archive. Need to shrink one file to .gz? Shrink one leftover-box file. Need folder size first? See how big one leftover-box folder is. Need leftover-box size (or leftover-box clock) to update by itself? See leftover-box change without typing again. Need nested folders as a drawing? See leftover-box folders as a tree. Need one leftover-box file from the laptop? Copy a file to the leftover box from your laptop. Need the throwaway gone for real? Delete a leftover-box file carefully. 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: zip. Ubuntu: zip. For the list flag, Debian: unzip. Ubuntu: unzip. Official pages only. For the login, see SSH from the couch. For unpack, see unpack a leftover-box zip you already have. For a Linux archive, see pack leftover-box files into one leftover-box archive. For folder size, see see how big one leftover-box folder is.

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. See how big one leftover-box folder isAfter SSH works, check how big one leftover-box folder is with du so you know before you copy or delete. You do not need a file manager app for this. See leftover-box change without typing againAfter SSH works, re-run a leftover-box command every few seconds with watch so leftover-box size (or leftover-box clock) updates by itself. You do not need a monitoring app for this. Unpack a leftover-box zip you already haveAfter SSH works, unpack a leftover-box zip with unzip so leftover-box files come out of a leftover-box zip. You do not need a zip desktop app 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. See leftover-box folders as a treeAfter SSH works, show nested leftover-box folders with tree so you can see what is inside without clicking around. You do not need a file manager 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. 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. 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.