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
- Skip if SSH still fails. Finish SSH from the couch first.
- Skip
cpif you want the old name gone. That tool leaves a second file. - Skip
cdif the file is what you want to move. That tool only changes where you sit. - Skip buying a NAS, a “cloud drive,” or a file manager app to rename one leftover-box file.
- Skip
mv /, anything under/etc, leftover-box SSH settings, orrmtonight. - Skip opening SSH to the internet so you can rename files from a coffee shop. That is keep the leftover box on the house network.
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.