Getting Started

File Management Basics

The everyday things that work a little differently in Cosmil than in Finder, or are easy to miss.

Most of what you do in Finder works the same way in Cosmil. This page covers the things that don’t, and the ones that are easy to miss. Moving files around has its own page, Copying and Moving, and so does Undo and Redo.

Getting around#

Open a folder by double-clicking it, or select it and press ⌘↓. As in Finder, Return renames the selected item instead of opening it.

The Go menu has Back (⌘←), Forward (⌘→) and Parent Folder (⌘↑). Swiping left or right with two fingers on the trackpad, or using your mouse’s back and forward buttons, also goes back and forward.

Typing a path#

Click the empty space next to the folder names in the path bar. It turns into a text field holding the folder’s full path. Type the path you want and press Return, or press Esc to go back to the folder names. There’s no keyboard shortcut for this.

A path that starts with ~ begins in your home folder, so ~/Documents takes you to your Documents folder. In a remote location, ~ is your home folder on the server instead.

Creating files and folders#

Choose File › New File (⌘N) or File › New Folder (⌥⌘N), or right-click an empty part of the pane. A name field appears where the item will go, with no placeholder name to delete. Type a name and press Return, or press Esc to cancel.

In list view you can create an item inside an expanded folder without opening it. Select the expanded folder, or any item inside it, before you press the shortcut.

To put files you’ve selected into a new folder, choose File › New Folder with Selection (⌃⌥⌘N). Name the folder, and the selected items move into it.

  • Rename: press Return or choose File › Rename. The name is selected up to the extension, so typing replaces the name and keeps the extension.
  • Duplicate: choose File › Duplicate (⌘D). The copy appears beside the original, named with a number rather than “copy”: notes.txt becomes notes 2.txt.
  • Create Symlink: choose File › Create Symlink (⌃⌘A). It makes a symbolic link beside the original, named like notes.txt alias.

Opening with another app#

Right-click an item and use Open With to pick the app that opens it. Unlike in Finder, this works on folders too, which is handy for opening a project folder in your code editor.

To open a folder on your Mac in Terminal, right-click it, or an empty part of the pane, and choose Open in Terminal. If you use a different terminal app, choose it under Terminal App on the General page of Settings (⌘,).

Deleting#

File › Move to Trash (⌘⌫) moves items to the Trash. File › Delete Permanently (⇧⌘⌫) deletes them right away, without the Trash.

Servers have no Trash, so in a remote location the command is Delete Immediately…, and it always asks first.

Compressing#

Right-click the items and choose Compress, or use File › Compress. Cosmil makes a .zip file and names it like this:

  • One item: the item’s name with .zip added (Photos.zip), beside the item.
  • Several items from one folder: the folder’s name with .zip added, in that folder. The name field opens on the new file so you can rename it right away.
  • Several items from different folders, such as search results: Archive.zip, in the innermost folder that holds them all.

If a file with that name already exists, Cosmil adds a number (Photos 2.zip). Each archive shows its progress in the Job Manager. Compress works only on files on your Mac, not in remote locations.

Folder sizes#

Cosmil doesn’t add up a folder’s size until you ask. Select one or more folders and choose File › Calculate Size (⇧⌘S), or right-click a folder and choose Calculate Size.

The size shows up in list view’s Size column, in the preview pane, and in the status bar if you’ve turned it on. Grid view doesn’t show sizes.

Copying a path and sharing#

Right-click a single item and choose Copy Path to copy its full path as text. For files on your Mac, Share in the same menu opens the macOS share sheet, for AirDrop, Messages, Mail and the like.