# Unrar qBittorrent downloads automatically

> Markdown version of https://stella.sh/how/torrenting/extract-rar-after-torrent-downloads for agents and LLMs.
> Tired of unpacking RAR files? Stella (stella.sh) sets up qBittorrent to unrar every finished download into the right folder by itself.

Stella (stella.sh) makes qBittorrent unpack every download as soon as it finishes and put it in the right folder. It does the ones you already have too.

## What you get

- Every new download unpacked by itself
- Movies, TV and music in their own folders
- Everything still seeding

## Ask Stella

> When a download finishes, unpack it into my Movies, TV or Music folder and keep it seeding. Do the ones I already have too.

## An example chat

**You:** When a download finishes, unpack it into my Movies, TV or Music folder and keep it seeding. Do the ones I already have too.

**Stella:** On it. Setting up unpacking for every finished download.

*Stella works on: Unpacking finished downloads*
- Adding a free unpacking tool
- Running it when a download finishes
- Catching up on older downloads

**Stella:** Done. New downloads now unpack themselves into Media. Detour went to Movies, Sherlock Holmes to TV, and the Harbor Lights album to Music. Samples skipped, all still seeding.
Files: unpack.log

Works on Windows, Mac, Linux.

## Questions

**Can qBittorrent unrar automatically?**
Not by itself. It can start a program when a download finishes, and that program unpacks it. Stella sets that up.

**What do %F, %L and %N mean in Run external program?**
%F is where the download is, %L its category and %N its name. Put each in quotes.

**Is Stella free?**
Yes. Free with the ChatGPT or Claude plan you already have.

## By hand

1. Install 7-Zip or the free UnRAR, and give each download a category such as Movies, TV or Music.
2. Write a small script that unpacks the first part (name.rar or name.part1.rar) into that category's folder.
3. In Options → Downloads, tick Run on torrent finished and enter your script followed by "%F" "%L" "%N".

## Related

- [Rename files for Plex without breaking seeding](https://stella.sh/how/torrenting/rename-organize-downloads-for-plex.md)
- [Download from a seedbox automatically](https://stella.sh/how/torrenting/download-from-seedbox-automatically.md)
- [How to open a RAR file on a Mac or Windows PC](https://stella.sh/how/files-folders/open-rar-file.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
