Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Check other directory to see if file already exists #11039
Comments
|
Not possible. |
|
@dstftw Hey Sergey, Can I add current videos to the --download-archive file, other than setting it to download the entire thing in the folder. |
|
|
|
Alright perfect thank you very much for the help. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.10.26.Before submitting an issue make sure you have:
What is the purpose of your issue?
Hey there.
I am using youtube-dl to download a specific channel.
Directory A is the directory I download and convert videos to. it could be /home/user/Videos/Yotube
Directory B is the directory I keep my downloaded videos in. /media/nas/Videos/Youtube
I download my videos to A since it is way quicker than downloading and converting over the network.
My config file looks like this:
-f bestvideo+bestaudio
-o %(title)s.%(ext)s`
--exec 'mv {} /media/nas/Videos/Youtube'
I run
youtube-dl https://www.youtube.com/channel/UCboMX_UNgaPBsUOIgasn3-Q/videosfrom Directory A but is there a way I can get it to check if the -o file matches any file in Directory B before downloading (and if there does, skip the video). which it does perfectly if I ran the command from Directory B?Thank you.