Skip to content

Dedupe from different versions of YouTube download

Notifications You must be signed in to change notification settings

EvanCarroll/ytdl-clean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytdl-clean: the youtube-dl cleanup

There are two competing projects on GitHub that have different conventions for saving files,

These projects save files differently so you may have

  • foo k123.mp4
  • foo -k123.mp4
  • foo [k123].mp4 (newest convetion)

This python script will deduplicate them to the newest convention of foo [k123].mp4. Further in the event it detects the same ID in the directory it's run, it will purge out files that are older.

Installation

make test
sudo make install

# cd into directory
ytdl-clean