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

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

Rename or move a leftover-box file

After SSH works, rename or move a leftover-box file with mv so the name matches the job. The old name is gone. You do not need a NAS for this.

Copy a leftover-box file without leaving the box leaves the original sitting there. Tonight you want the same leftover-box file under a better name, or in a folder you already made. mv is move. It is also rename. Same leftover box, one file, new path. Useful after make a leftover-box folder, so the spare is not still sitting in home. The leftover box does not need a desktop, a NAS, or a file manager app for this one job.

Skip until SSH already works

SSH from the couch should already get you a leftover-box prompt. If you want a second copy and the original to stay, that is copy a leftover-box file without leaving the box. If the file is still on the laptop, that is copy a file to the leftover box from your laptop. If you only want to sit in a different leftover-box folder, that is move into a leftover-box folder. Skip this whole note if you only need a house share other computers browse. That is a folder the house can open.

What this is

mv gives a leftover-box file a new name, or puts it in another leftover-box folder. You run it on the leftover box, after SSH. The old name is gone. That is the whole difference from cp. It does not change which folder you are sitting in. That is cd. It does not talk to the laptop. That is scp. It does not share the file with phones. That is Samba. Two paths, same leftover box, one file.

Give it a better name

SSH in. If you do not already have a throwaway file, make one in home:

echo 'hello leftover' > ~/hello.txt

Then rename it:

mv ~/hello.txt ~/hello-keep.txt

The first path is the name you have. The second path is the name you want. Swap the names for yours. A short name with no spaces is easier to type later. Want the original to stay too? Copy first: copy a leftover-box file without leaving the box.

See that the old name is gone

List home:

ls ~

You want hello-keep.txt. You do not want hello.txt any more. Optional look at size and date:

ls -lh ~/hello-keep.txt

Optional peek without opening the editor:

cat ~/hello-keep.txt

You want the same line you wrote. The leftover box moved the file. It did not make a spare.

Move it into a folder

Need a leftover-box folder first? Make a leftover-box folder. Then keep the same filename and drop the file inside:

mv ~/hello-keep.txt ~/notes/

The trailing slash on notes/ is a reminder that the last thing is a folder. List it:

ls ~/notes

You want hello-keep.txt in that folder. List home again. The old home name should be gone. A full second path also works if you want a different name in there:

mv ~/hello-keep.txt ~/notes/hello-later.txt

Sitting in the folder yourself is a different job. That is move into a leftover-box folder.

Optional: ask before overwriting

If the new name already exists, a plain mv replaces it with no useful undo. Ask first:

mv -i ~/hello-keep.txt ~/notes/hello-keep.txt

The leftover box will wait for a yes if that second name is already taken. Type n if you did not mean to replace it. Skip mv of anything under / or /etc. Home is the practice place. Skip leftover-box SSH settings tonight.

What this is not

This is not a second copy. That is copy a leftover-box file without leaving the box. It is not a file from the laptop. That is copy a file to the leftover box from your laptop. It is not changing which leftover-box folder you sit in. That is move into a leftover-box folder. It is not a house share other computers browse. That is a folder the house can open. It is not a checked backup. That is a backup of the leftover-box folder.

What next

Need a spare before you rename? Copy a leftover-box file without leaving the box. Need a folder for the file to land in? Make a leftover-box folder. Need the names again? See what's in a leftover-box folder. Need to change a line? Edit a leftover-box file from the couch. Need a file from the laptop instead? Copy a file to the leftover box from your laptop. Tired of retyping the same long line? Reuse a leftover-box command you already typed. 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

GNU coreutils: mv invocation. Debian: mv. Ubuntu: mv. Official pages only. For the login, see SSH from the couch. For a spare that keeps the original, see copy a leftover-box file without leaving the box. For making a folder, see make a leftover-box folder. For listing names, see see what's in a leftover-box folder. For sitting in a folder, see move into a leftover-box folder.

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. 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. Make a leftover-box folderAfter SSH works, make a leftover-box folder with mkdir so copies and edits have a place to land. You do not need a NAS for this. See what's in a leftover-box folderAfter SSH works, list the leftover-box folder you are sitting in with ls. You do not need a file manager app for this. Move into a leftover-box folderAfter SSH works, change leftover-box folders with cd. 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. Edit a leftover-box file from the couchAfter SSH works, open a leftover-box file with nano, change a line, and save. The keys at the bottom of the screen are the whole trick. You do not need a new editor. Reuse a leftover-box command you already typedAfter SSH works, flip back through commands with the Up arrow or history. You do not need a notebook for the same long line twice. See if the leftover box still has roomAfter the house folder is working, check that the leftover box is not filling up. Photos stop copying when the disk is full. You do not need a NAS for this look. 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.