Written 30 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.
Pack leftover-box files into one leftover-box archive
After 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.
See leftover-box file size, date, and permissions looked at leftover-box file size. Download a file onto the leftover box and copy a file to the leftover box from your laptop copy one leftover-box file. Tonight you pack a leftover-box folder so there is one leftover-box archive to copy. tar writes that leftover-box pack. Archive means that leftover-box pack file. You are still only practicing in leftover-box home. The leftover box does not need a zip app, a desktop, or a NAS 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 copied from the laptop, that is copy a file to the leftover box from your laptop. If you only need a leftover-box copy on the box, that is copy a leftover-box file without leaving the box. If you only need a leftover-box folder, that is make a leftover-box folder. If you only need leftover-box file size, date, and permissions, that is see leftover-box file size, date, and permissions. 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
tar means leftover-box pack: leftover-box files into one leftover-box file. Archive means that leftover-box pack file. You type tar, then flags, then a leftover-box archive path, then leftover-box names to pack. The leftover box writes one leftover-box archive file. -c means create. -f means the leftover-box archive file name comes next. -t means list the leftover-box pack. -x means unpack. -C means change leftover-box folder first — order matters, so put -C with the leftover-box throwaway folder when you unpack. It is not a copy from your laptop. That is copy a file to the leftover box from your laptop. It is not a leftover-box copy on the box. That is copy a leftover-box file without leaving the box. It is not making a leftover-box folder. That is make a leftover-box folder. 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 file size, date, and permissions. That is see leftover-box file size, date, and permissions. It is not a careful leftover-box delete. That is delete a leftover-box file carefully. 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.
Pack a practice folder 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 a tiny leftover-box practice folder:
mkdir -p ~/pack-me
printf 'hello leftover box\n' > ~/pack-me/hello.txt
printf 'second leftover-box line\n' > ~/pack-me/notes.txt
Sit in leftover-box home, then pack a relative leftover-box name. Do not pack /home/... paths:
cd ~
tar -cf ~/pack-me.tar pack-me
Look at leftover-box archive size:
ls -lh ~/pack-me.tar
Optional leftover-box facts on the leftover-box archive:
stat ~/pack-me.tar
List leftover-box pack contents. Do not unpack yet:
tar -tf ~/pack-me.tar
You want leftover-box names like:
pack-me/
pack-me/hello.txt
pack-me/notes.txt
Unpack into a leftover-box throwaway folder so you do not dump leftover-box files into leftover-box home:
mkdir -p ~/unpack-me
tar -xf ~/pack-me.tar -C ~/unpack-me
ls ~/unpack-me/pack-me
You want hello.txt and notes.txt.
tar -xf unpacks into the leftover-box folder you are sitting in unless you pass -C. That is why you mkdir ~/unpack-me first. Do not unpack into /etc. Do not pack . from a leftover-box folder you do not own.
If tar says Cannot stat: No such file or directory, you are not in leftover-box home. pwd, then cd ~, then pack pack-me again.
Useful extras, still leftover-box home only
Want leftover-box names printed while packing?
tar -cvf ~/pack-me.tar pack-me
Want a leftover-box list with leftover-box facts?
tar -tvf ~/pack-me.tar
Want a smaller leftover-box archive? Optional gzip:
tar -czf ~/pack-me.tar.gz pack-me
Then list:
tar -tzf ~/pack-me.tar.gz
Then unpack into the leftover-box throwaway folder:
tar -xzf ~/pack-me.tar.gz -C ~/unpack-me
-z means leftover-box gzip on the leftover-box pack. Skip zip, unzip, 7z, bzip2, xz, and zstd as tonight's leftover-box lesson. Standalone leftover-box gzip on one leftover-box file is shrink one leftover-box file.
Skip tar -P (absolute leftover-box names). Night one uses relative leftover-box names from leftover-box home.
Skip tar --remove-files. That deletes leftover-box files after packing. Tonight you keep the leftover-box practice folder.
If the leftover box says command not found for tar, install it, then try again:
sudo apt install tar
Debian and Ubuntu Server usually already have it. That install is not a reason to buy a zip app.
When you are done packing, throw away the leftover-box archive and leftover-box practice files. Careful delete only. That is delete a leftover-box file carefully:
rm -i ~/pack-me.tar
rm -i ~/pack-me/hello.txt ~/pack-me/notes.txt
Delete leftover-box practice folders the same careful way after they are empty. Skip rm -rf.
What this is not
This is not a copy from your laptop. That is copy a file to the leftover box from your laptop. It is not a leftover-box copy on the box. That is copy a leftover-box file without leaving the box. It is not making a leftover-box folder. That is make a leftover-box folder. 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 file size, date, and permissions. That is see leftover-box file size, date, and permissions. 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 moving into a leftover-box folder. That is move into a leftover-box folder. It is not printing the leftover-box path. That is see which leftover-box folder you are in. 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 pack leftover-box files from a coffee shop. That is keep the leftover box on the house network.
What next
Need leftover-box shrink for one leftover-box file? Shrink one leftover-box file. Need leftover-box file size, date, and permissions first? See leftover-box file size, date, and permissions. Need one leftover-box file from the laptop instead? Copy a file to the leftover box from your laptop. Need a leftover-box fingerprint? Check a leftover-box file fingerprint. Need a leftover-box download first? Download a file onto the leftover box. Need a leftover-box folder first? Make a leftover-box folder. Need a leftover-box copy on the box? Copy a leftover-box file without leaving the box. 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
- Skip if SSH still fails. Finish SSH from the couch first.
- Skip leftover-box files under
/etc, SSH folders, or paths you do not own. Practice only in leftover-box home. - Skip
tar -P,tar --remove-files, and packing.from a leftover-box folder you do not own. - Skip zip, unzip, 7z, rar, bzip2, xz, and zstd as tonight's leftover-box lesson. Optional leftover-box gzip via leftover-box
tar -zonly. Standalone leftover-box gzip is shrink one leftover-box file. - Skip huge leftover-box ISOs, whole leftover-box disks, and leftover-box system folders.
- Skip buying a zip app. Debian and Ubuntu already ship
tar. - Skip 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.
- Skip if you actually need the USB leftover-box backup. That is a backup of the leftover-box folder.
Sources
Debian: tar. Ubuntu: tar. GNU tar: creating archives. Official pages only. For the login, see SSH from the couch. For a leftover-box file from the laptop, see copy a file to the leftover box from your laptop. For leftover-box file size, date, and permissions, see see leftover-box file size, date, and permissions.