youtube-dl delete files that are no longer in a playlist

Max

I have a watch later playlist on YouTube. I both add videos to it and remove watched ones constantly. I use

youtube-dl <playlist_url>

to download the entire playlist into a current folder. The idea is to keep this folder in sync with the playlist, in other words to delete videos from the local folder that are no longer in the playlist. Is there a simple way to do it?

jrtapsell

Rather than writing it yourself, you can use this script to keep a folder in sync with a playlist:

https://github.com/chewett/youtube-playlist-sync/blob/master/README.md

To set it up you run:

yps.py --init <playlist url> --dir <folder>

To sync you run:

yps.py --sync <folder>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

youtube-dl delete files that are no longer in a playlist

From Dev

Downloading youtube playlist with youtube-dl, skipping existing files

From Dev

youtube-dl; How download ONLY the playlist, NOT the files therein

From Java

Youtube - downloading a playlist - youtube-dl

From Dev

In bash script how do I ensure youtube-dl downloads all files in a playlist

From Dev

youtube-dl | Download playlist in respective directory

From Dev

Youtube-dl viewster playlist language selection

From Dev

youtube-dl not downloading the whole playlist

From Dev

How to download a youtube playlist with numbered prefix via youtube-dl?

From Dev

How to download a youtube playlist with numbered prefix via youtube-dl?

From Dev

Play youtube playlist with youtube-dl with shuffling or repeat

From Dev

get newest additions to a youtube playlist using youtube-dl

From Dev

Download youtube playlist from youtube-dl. but no sounds

From Dev

youtube-dl from git no longer available

From Dev

How can I download a youtube playlist with youtube-dl and make it a mp3-playlist?

From Dev

How can I make youtube-dl return the creator of a playlist?

From Dev

youtube-dl: Use different output format if downloading a playlist

From Dev

youtube-dl all the vides under a specified playlist

From Dev

Synchronise items in current folder with playlist using youtube-dl

From Dev

Batch Delete Videos From YouTube Favorites Playlist

From Dev

Delete videos from playlist using YouTube API

From Dev

Unable to delete a youtube playlist using youtube api v3

From Dev

Unable to delete a youtube playlist using youtube api v3

From Dev

How can I download part of a playlist from YouTube with 'youtube-dl'?

From Dev

How can I download part of a playlist from YouTube with 'youtube-dl'?

From Dev

youtube-dl, how to write all subs of a youtube playlist to ONE single file?

From Dev

How to download multiple video playlist by youtube-dl and avoid repeated recheck?

From Dev

youtube-dl doesn't work with .bat files

From Dev

youtube-dl: how to skip already downloaded files in python script?

Related Related

  1. 1

    youtube-dl delete files that are no longer in a playlist

  2. 2

    Downloading youtube playlist with youtube-dl, skipping existing files

  3. 3

    youtube-dl; How download ONLY the playlist, NOT the files therein

  4. 4

    Youtube - downloading a playlist - youtube-dl

  5. 5

    In bash script how do I ensure youtube-dl downloads all files in a playlist

  6. 6

    youtube-dl | Download playlist in respective directory

  7. 7

    Youtube-dl viewster playlist language selection

  8. 8

    youtube-dl not downloading the whole playlist

  9. 9

    How to download a youtube playlist with numbered prefix via youtube-dl?

  10. 10

    How to download a youtube playlist with numbered prefix via youtube-dl?

  11. 11

    Play youtube playlist with youtube-dl with shuffling or repeat

  12. 12

    get newest additions to a youtube playlist using youtube-dl

  13. 13

    Download youtube playlist from youtube-dl. but no sounds

  14. 14

    youtube-dl from git no longer available

  15. 15

    How can I download a youtube playlist with youtube-dl and make it a mp3-playlist?

  16. 16

    How can I make youtube-dl return the creator of a playlist?

  17. 17

    youtube-dl: Use different output format if downloading a playlist

  18. 18

    youtube-dl all the vides under a specified playlist

  19. 19

    Synchronise items in current folder with playlist using youtube-dl

  20. 20

    Batch Delete Videos From YouTube Favorites Playlist

  21. 21

    Delete videos from playlist using YouTube API

  22. 22

    Unable to delete a youtube playlist using youtube api v3

  23. 23

    Unable to delete a youtube playlist using youtube api v3

  24. 24

    How can I download part of a playlist from YouTube with 'youtube-dl'?

  25. 25

    How can I download part of a playlist from YouTube with 'youtube-dl'?

  26. 26

    youtube-dl, how to write all subs of a youtube playlist to ONE single file?

  27. 27

    How to download multiple video playlist by youtube-dl and avoid repeated recheck?

  28. 28

    youtube-dl doesn't work with .bat files

  29. 29

    youtube-dl: how to skip already downloaded files in python script?

HotTag

Archive