SkillAgentSearch skills...

Recursync

Script to recursively sync all the subtitles of a folder and overwrite the old one (after backing it up). It won't try to sync previously synced subs on next iterations.

Install / Use

/learn @jeffarese/Recursync
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

r-subsync

Script to recursively sync (using Subsync) all the subtitles of a folder and overwrite the old one (after backing it up). It won't try to sync previously synced subs on next iterations.

Subsync is an awesome library, I highly recommend you to check out its repository:

History about it:

"The implementation for this project was started during HackIllinois 2019, for which it received an Honorable Mention (ranked in the top 5 projects, excluding projects that won company-specific prizes)."

Requirements

Usage

python rSubsync.py --lang xx --path /path Only the lang is required. It needs to match the lang specified on your subtitle files, so:

If your subtitles are named like: subtitle.en.srt the lang needs to be en.

Example usage

Having:

.
└── path-to-sync-recursively
    ├── video1
    │   ├── video1.en.srt
    │   └── video1.mkv
    └── video2
        ├── video2.en.srt
        └── video2.mkv

Using the command:

python3 rSubsync.py --lang en --path /path-to-sync-recursively/

Will do this:

.
└── path-to-sync-recursively
    ├── video1
    │   ├── video1.en.srt
    │   ├── video1.en.srt.old
    │   └── video1.mkv
    └── video2
        ├── video2.en.srt
        ├── video2.en.srt.old
        └── video2.mkv

In case there are errors in the process of syncing any subtitle, it will create a .failed file with the stacktrace.

If you don't specify any path it will use the current one ('.') to start syncing.

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated9mo ago
Forks3

Languages

Python

Security Score

87/100

Audited on Jun 15, 2025

No findings