Working with Files

Copying and Moving

Cut and paste, copy and move, drag and drop, and what happens when a file is already there.

Cosmil moves files whichever way you’re used to: cut and paste as on Windows, or copy and move as on macOS. Drag and drop follows Finder’s rules.

Cut and paste, or copy and move#

  • Cut (⌘X), then Paste (⌘V), moves the files.
  • Copy (⌘C), then Paste, copies them. They stay on the clipboard, so you can paste them again somewhere else.
  • Copy, then Edit › Move (⌥⌘V), moves them, as in Finder.

Nothing happens to the files until you paste. Once a move is done the clipboard is empty, because the files aren’t where they were anymore.

Files paste into the folder the pane shows. In list view, select an expanded folder first to paste into it, or right-click a folder and choose Paste Into or Move Into. If you paste copies back into the folder they came from, Cosmil keeps both, naming the copy with a number, such as notes 2.txt.

You can also copy files in Cosmil and paste them in Finder or another app, or the other way around. Edit › Move moves files you copied in Finder. A cut doesn’t carry over to other apps, so files you cut in Cosmil are copied when you paste them somewhere else.

Choosing your style#

Right-click menus offer both styles. To keep them shorter, open Settings (⌘,) and change Move Behavior on the General page:

  • Both (the default) shows every option.
  • Cut/Paste drops Move Into and Move Here from right-click menus, and Move from the Edit menu.
  • Copy/Move drops Cut, and ⌘X no longer cuts.

Copying to the other pane#

With two or more panes in a tab, Edit › Copy to Other Pane (⇧⌘C) and Edit › Move to Other Pane (⇧⌘M) send the selection straight to the folder in the other pane. If you’re used to two-pane file managers, F5 and F6 do the same.

The other pane is the one you used last. With more than two panes, click in the pane you want to send to, then go back to the files. See Panes and Tabs.

Drag and drop#

A drop moves files when they stay on the same drive or server, and copies them when they go to another one. Hold ⌥ as you let go to copy instead, or ⌘ to move.

You can drop files on:

  • a folder in the list or grid. Hold them over it for a moment and it opens.
  • an empty part of a pane, to put them in that pane’s folder.
  • a folder in the path bar.
  • a tab. Hold them over it and it comes to the front.
  • a folder, drive, or connected server in the sidebar.

Dropping on a tag tags the files instead of moving them (see Tags). To hold files while you find where they go, use the Dropzone.

What happens to the originals#

A move on the same drive is instant: the files just change folders. A move to another drive or a server copies the files, then removes the originals. By default, Cosmil doesn’t remove any original until every file has been copied, so a move that stops partway leaves your files where they were.

If you’d rather have each original removed as soon as its copy is done, set Move Source Deletion on the General page of Settings to Concurrent — as files finish. The default is Safe — after all copies.

Long copies and moves can be paused, and one that stops partway, for example because a server connection dropped, can be resumed. See Job Manager.

When something’s already there#

The Transfer Conflict Resolver window comparing two files named logo-final.png, one in Downloads and one on the Desktop, with Skip this File, Overwrite Destination File, and Abort Transfer

When a file you’re copying or moving meets a file of the same name, Cosmil opens a Transfer Conflict Resolver window. It shows the two files side by side, with their paths, dates, sizes, and tags, so you can tell which one to keep. You can answer with:

  • Skip this File leaves the existing file and doesn’t copy this one.
  • Overwrite Destination File replaces the existing file.
  • Abort Transfer stops the whole copy or move. You can still resume it from the Job Manager.
  • Keep Both, in the … menu, keeps the existing file and gives the new one a number: Report.pdf arrives as Report 2.pdf.

The same menu has Overwrite All, Skip All, and Keep Both for All, which answer for every later conflict in the same transfer.

Folders#

When a folder meets a folder of the same name, Cosmil asks once for that folder: Skip, Keep Both, or Merge. Merging keeps everything from both folders. Folders inside that also share a name merge without asking, but you’re still asked about files with the same name.

The … menu adds Move Existing to Trash and Replace. The old folder goes to the Trash only once the new one has fully arrived. Servers have no Trash, so this isn’t offered there.

Apps and packages are single items, so they can’t be merged: you get Skip, Keep Both, or Replace, which moves the existing one to the Trash. Neither can a link: replacing one moves only the link to the Trash, not what it points to.

File › Duplicate never asks. It always names the copy with a number.