Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/workflows/release.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: extension tasks

on:
push:
branches:
- main
tags:
- "v*"
pull_request:
branches:
- main

jobs:
manifest:
uses: nzbgetcom/nzbget-extensions/.github/workflows/manifest.yml@main

tests:
uses: nzbgetcom/nzbget-extensions/.github/workflows/python-tests.yml@main
with:
python-versions: "3.6 3.7 3.8 3.9 3.10 3.11 3.12"
supported-python-versions: "3.8 3.9 3.10 3.11 3.12"
test-script: tests.py
debug: true

release:
if: startsWith(github.ref, 'refs/tags/v')
needs: [manifest, tests]
uses: nzbgetcom/nzbget-extensions/.github/workflows/extension-release.yml@main
with:
release-file-list: main.py manifest.json
release-file-name: easysort
release-dir: EasySort
15 changes: 0 additions & 15 deletions .github/workflows/tests.yml

This file was deleted.

24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
## NZBGet Versions

- stable v23 [v3.0](https://github.com/nzbgetcom/Extension-EasySort/releases/tag/v3.0)
- stable v23 [v3.1](https://github.com/nzbgetcom/Extension-EasySort/releases/tag/v3.1)
- legacy v22 [v2.0](https://github.com/nzbgetcom/Extension-EasySort/releases/tag/v2.0)

> **Note:** This script is compatible with python 3.8.x and above.
If you need support for Python 2.x versions then you can get legacy version [here](https://forum.nzbget.net/viewtopic.php?f=8&t=2163&p=23026&hilit=easysort#p23026).

# EasySort
## EasySort

Moves files into other location.
This script moves files with specified extensions into another
directory. It can also move into parent directory (flatten mode).
In addition there is an option to delete source directory with all remaining files.
This script moves files with specified extensions into another directory.

Author: Andrey Prygunkov <hugbug@users.sourceforge.net>
It offers flexible organization options:

- Flat Mode:** Files are moved into the specified `DestDir` directory.
- Parent Directory Mode:** Files are moved into the parent directory using `DestDir=..` (flattening).
- Category Subdirectory Mode:** Files are organized into subdirectories within `DestDir` based on the category using `UseCategoryDir`.
- NZB Parent Subdirectory Mode:** Files are organized into subdirectories within `DestDir` based on the NZB filename using `UseNzbParentDir`

You can combine `UseCategoryDir` and `UseNzbParentDir` for further organization.

Additionally, there is an option to delete the source directory with all remaining files.

## Authors:
- Andrey Prygunkov <hugbug@users.sourceforge.net>
- Denis <denis@nzbget.com>
Loading