Northern Commander

Tidy your Downloads folder

You end with Downloads holding only what you are still using: the installers in the Trash, the invoices in their folder, and a list of every change in case one was wrong.

1. Downloads on one side, where things go on the other

  • ⌥⌘L takes the active pane to Downloads.
  • Tab, then take that pane to where the first batch belongs — ⇧⌘O and into Receipts, or ⌘G for anywhere else.
  • Tab again, back to Downloads.

A copy or a move goes to the other pane’s folder unless you type another, so this is the only setting up there is. Going places has the other ways to a folder.

2. Put the biggest first

⌘F2 and choose Size. Disk images and installer packages are usually the biggest things there, and now they are at the top, under the folders.

Sorted by size, the installers come to the top. The other pane is where the invoices will go.

3. Put the installers in the Trash

  1. + and type *.dmg;*.pkg — every disk image and installer package. Enter marks them, and the line under the list says how many and how much they add up to.
  2. F8, and Enter to agree. They go to the Trash, where they stay until you empty it.
Select by pattern marks the five installers, Delete puts them in the Trash.

A pattern marks files only, so a folder that happens to match is left alone. Marking has everything a pattern can say.

4. File the invoices

Invoices share a word, so type it rather than hunting for them.

  1. Type invoice in the pane. The cursor jumps to the first name that begins with it.
  2. Tab widens that to names that contain it, so gym-invoice-06.pdf counts too.
  3. ⌘= marks every name found.
  4. F6, and Enter — they go to the folder in the other pane.
The search finds the invoices, one key marks them all, and Move takes them to the other pane.

For the next batch, point the other pane at its folder and do the same. For a few odd files, mark each with Space as you go down the list.

5. Check what you did

⇧⌘J lists every change since the application started — the delete and the move, newest first — and says whether each could still be undone. Choose one to see it file by file. See The journal.

Variations

  • Every file of a kind. + with *.pdf marks every PDF and no folders.
  • Everything but a kind. |*.pdf marks every file that is not a PDF.
  • What you downloaded twice. *(1).* marks boarding-pass (1).pdf and the like.
  • The oldest first. ⌘F2 and Date puts the newest first; choose Date again to turn it round, so the downloads you forgot about are at the top.
  • To look at one kind while you decide, ⌥⌘F shows only the names that match. Folders stay in the list, so ⌘A would mark them too — mark with a pattern instead. Show all in the same dialog ends the filter. See What a pane shows.
  • For good. ⇧F8 skips the Trash, after you type delete to confirm. See Deleting.