---
title: Manage files and folders
project: Code
version: 2.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/code/2-0/guides/manage-files/
updated: 2026-11-19T04:32:09.378Z
---

# Manage files and folders

> Create, rename, copy, upload, unpack and remove files in a project.

You manage the files of a project in the file tree on the left.

## Create a file or folder

1. Click **Create file** or **Create folder** at the bottom of the panel.
2. Enter the name, for example `notes.md`, and press `Enter`.

**Create folder** also suggests the usual folders of a Total.js application.

## Use the file menu

Right-click a file or a folder to open its menu.

![The menu of a file with Download file, Read info, Rename, Duplicate and Remove](/files/JanvsH2iR61f.webp)

| Item | What it does |
|---|---|
| **Download file** | Downloads the file to your computer |
| **Read info** | Shows the details of the file |
| **Rename** | Lets you edit the name in the tree. Press `Enter` to confirm |
| **Duplicate** | Makes a copy next to the original |
| **Remove** | Deletes the item after you confirm |
| **Show this folder only** | Shows only this folder in the tree |
| **Create file** / **Create directory** | Creates an item inside the folder |

Known folders offer shortcuts too. The menu of `definitions`, for example, has **Create: init.js** and **Create: auth.js**.

## Upload files

Drag files from your computer onto a folder in the tree. One upload can have up to 50 MB.

## Unpack an archive

Right-click a `.zip` file and choose **Unpack**. The files appear next to the archive.
