Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.
/ dsclean Public archive

Clean up unregistered download tasks in Download Station

License

Notifications You must be signed in to change notification settings

Shraymonks/dsclean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

adef24b · Oct 17, 2023

History

21 Commits
Oct 17, 2023
Jul 21, 2023
Jan 26, 2023
Oct 17, 2023
Jan 26, 2023
May 1, 2023
Jan 19, 2023
Jan 26, 2023
Oct 17, 2023
Jan 9, 2023
Jan 9, 2023
Feb 8, 2023
Oct 17, 2023
Oct 17, 2023
Jan 9, 2023

Repository files navigation

dsclean

Tool to remove unregistered download tasks in Synology Download Station.

An unregistered download task is a torrent where its tracker status is Unregistered torrent.

Installation

Requires DSM 7 or later.

$ npm install -g dsclean

Usage

Environment variables

The following environment variables must be set for the dsclean command:

Variable Description Default/Required
HOST Host of the Synology NAS where Download Station is installed http://localhost:5000
USERNAME Username on HOST with appropriate Download Station permissions Required
PASSWORD Password for USERNAME Required

dsclean

Lists all unregistered download tasks that USERNAME has access to on HOST.

$ dsclean
2 unregistered downloads:
ubuntu-22.04.1-desktop-amd64.iso
ubuntu-22.10-desktop-amd64.iso

dsclean --delete

Deletes all unregistered download tasks that USERNAME has access to on HOST.

$ dsclean --delete
2 downloads deleted:
ubuntu-22.04.1-desktop-amd64.iso deleted
ubuntu-22.10-desktop-amd64.iso deleted