## Delete files

Select a file and delete it, then confirm in **Delete media?**. This cannot be undone.

A file that is used by a draft, scheduled, publishing or failed post is kept until that post is published or deleted, so a post never loses its media before it goes out. When you delete several files, PublishQ deletes the ones it can and tells you which ones it kept.

A file that was only used by published posts can be deleted. The live posts on the platforms are not affected.

## Delete a folder

1. Choose to delete the folder. The dialog counts the files inside it, including subfolders.
2. Type `delete` to confirm, and click **Delete folder and {n} files**.

Files used by posts that are not published yet are kept, along with the folder that holds them. To keep any other file, move it to another folder before deleting.

## Storage

Your storage use is shown at the top of **Media** and in **Settings > General > Usage & Limits > Storage**. Each paid plan includes a set amount of storage; see the [pricing page](https://publishq.com/pricing).

![The media library with the storage used framed](/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBWUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d6d6bb924663237b37dd174a0649f4c65090afa3/33-storage-desktop.png)

When storage is full you will see "Storage full." Delete some media to free up space, or upgrade your plan.

## Media on the Free plan

On the Free plan, files are kept for the posts they are attached to:

- Files attached to a post are removed after it publishes. The file card shows "Deletes after publishing".
- Files you upload without attaching them to a post are removed after an hour.

Paid plans keep a full media library that you can reuse in any post.

## If your subscription ends

Your files are kept for 60 days. Subscribe again within that time to keep them.
