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.
How to embed downloading date in filename #10558
Comments
|
|
|
I am not interested in "upload date" but "download date". |
|
Sorry I misunderstood you. It's not possible with youtube-dl only. An approach can be using |
|
Can I suggest this as feature somewhere? |
|
What's wrong with
or an equivalent if your shell does not conform to POSIX? I don't think we need to add any features to youtube-dl for that. Or are you really running youtube-dl jobs that span days? |
|
Thanks @phihag. I wasn't aware of such a simple solution. |
|
Excellent, I didn't know I could do this. I am not as experienced with command line. |
|
Not really, composability is a primary feature of any decent shell. There are thousands of simple and useful compositions, and billions in general. We can't list them all, and that's out of scope of youtube-dl. |
|
Hi, could you help me please? My download command is in file dowload_yt.sh and looks like this:
Thanks for any help. |
|
Nevermind, I have it working: #!/bin/bash |
Hi,
I know there is unix timestamp, but I would like to have just YYYYMMDD date of when the video was downloaded as part of the output filename. Is this possible?