Skip to content
/ rtgc Public

Remove unregistered torrents, remove orphaned files

Notifications You must be signed in to change notification settings

mmgoodnow/rtgc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtgc

A mishmash of garbage-collection tasks designed around large-scale rTorrent installations. Similar to qbit_manage but for rTorrent.

features

  • remove unregistered torrents
  • remove torrents with missing files errors
  • remove all the files that Sonarr and Radarr upgraded from and then never deleted
    • also remove torrents referencing those files (optionally)
  • find-and-replace symlink targets that have been the victim of realpath (this one's pretty specific to my setup)
  • remove any files that have no hardlinks, symlinks pointing to them, or optionally, seeding torrents pointing to them.

No tests, no support. Use at your own risk. This tool could delete all your files pretty easily.

options

{
	rpc: { type: "string" },
	dataDir: { short: "d", type: "string", multiple: true },
	fixUnregistered: { type: "boolean" },
	fixOrphaned: { type: "boolean" },
	symlinkSource: { type: "string", multiple: true },
	improperSymlinkSegment: { type: "string" },
	properSymlinkSegment: { type: "string" },
	fixSymlinks: { type: "boolean" },
	retainSolelyForSeeding: { type: "boolean" },
	fixMissingFiles: { type: "boolean" },
	safetyThreshold: { type: "string", default: "1" },
	force: { type: "boolean" },
}

About

Remove unregistered torrents, remove orphaned files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published