File and directory manipulation

Usage

File and directory manipulation

Most tasks for file and directory manipulation are available in the footer menu. More tasks are available in the Command Palette (Ctrl+p).

According key bindings use mnemonics for the actions:

  • c: copy
  • m: move
  • D (Shift+d): delete (requires upper case D to avoid accidental deletions)
  • etc.

Some alternative actions are available with Shift key:

  • M (Shift+m): rename a file or directory in place

Create new directories and files with commands from the Command Palette, or use Ctrl+n to create a new directory.

Copy and move behavior

When copying and moving files you can change the destination file or directory path in the confirmation prompt. The behavior should be familiar if you are used to cp and mv commands and should be roughly the same.

In the case a destination file or directory may be overwritten by a requested action, you will be asked for an explicit confirmation. Individual files thus can be overwritten, directories - merged. (Directories are never merged on move to avoid data loss.)

Archiving and compressing files

See Archives and compressed files.

Multiple file and directory selection

Some actions, such as copy, move and delete, can be performed on multiple entries.

  • Space to select/unselect an entry under the cursor
  • Alternatively, use Shift+cursor motion (j/k/up/down) to select/unselect and move the cursor up or down.
  • -: clear selection
  • +: select all displayed entries
  • *: invert selection