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.
Question: why does updated youtube-dl show a different version than modified date? #16213
Comments
|
Technically, date modified can be anything depending on how you obtained the binary and generally have nothing to do with |
Please follow the guide below
This is a simple question. In Linux (Mint 18.1) should the "date modified" date of youtube-dl be the same as shown if I run $ youtube-dl --version?
Because on my system (Mint 18.1), they aren't the same.
I actually have 2 files named youtube-dl.
One is in /usr/bin, which I'm pretty sure was installed & updated, using a PPA in Mint's repo. it's a small file - 87 bytes. It has date modified 2018.04.03, but shows a version 2018.04.09. From the date modified 2018.04.03, it looks like the last time it was updated via the PPA / Mint's update manager.
The other youtube-dl is in /usr/local/bin. It's date modified is 2018.04.15, which I assume is the one just updated today - via command line?
But why does "youtube-dl --version, return 2018.04.09, and not 2018.04.15 or 2018.04.16 (with prompt cd'd to /usr/local/bin)?
Your site says it's "release 2018.04.16," but that's not what the version command OR modified date shows.
Looking at that file modified on 2018.04.15 in a hex editor shows the string "2018.04.09" - the same as the version command shows for it.
** Should I even have 2 copies of youtube-dl in 2 paths?
One in /usr/bin, that's only 87 bytes was probably installed along w/ youtube-dlg, from the PPA in Mint. Youtube-dlg is in the same directory.
The other yt-dl is in /usr/local/bin; is 1.6 MB, shows the modified date 2018.04.15, but --version command shows a different version (apparently) than either of the 2 files' modified dates.
I can't wait for the latest releases to show up - even in the PPA. It's too far behind & sometimes the latest fixes are critical for it to work.
If you could advise on what to do with these files & why the returned versions seem wrong, I'd appreciate it.