From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C15D5138359 for ; Fri, 24 Jul 2020 01:56:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03854E086C; Fri, 24 Jul 2020 01:56:02 +0000 (UTC) Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A073E082F for ; Fri, 24 Jul 2020 01:56:01 +0000 (UTC) Received: by mail-oi1-x230.google.com with SMTP id j11so6757085oiw.12 for ; Thu, 23 Jul 2020 18:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to; bh=scWXGqFxZdww+ldmObOIC60y9j+6oToKTQxqjLdcenw=; b=SfnIuw/g1jrVgzQZGii6QomuirIHupiKizSLP9j0Yf9iSSFyPn3+BYRxgH5CDMi/3N GE9YNzaoSWv1S8zHUxsUROxwfnIi6Y1WfvIncrwPfWRd7kXxX6jRuPLlduCnAkf0b33u I7LDQkxWg+/iLENCbhduGBc23yfc8iAc7ZNY552LP02kjmEQq2uCcTV6Oks6K3JV5DQJ fjSDhPWFfnU5Y+z4BkfoMXAUfM4HgbT8dHd0J6i2u0ruX3LIWbvZndPUZlSs/T6IXhgv krCEcYmk6KhLJUaHZaPqh3JkbCmpIwQ+scuNwSKNRcCefWQXjNXhuxwAuYLPlz0oE2xR EZ/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to; bh=scWXGqFxZdww+ldmObOIC60y9j+6oToKTQxqjLdcenw=; b=o5l6/BCiXjto4Sil4tvze++wFAQk+xR7cL1IO5lGop+kMAGeQivVQwmh1XUKd4v9u9 YnLMYNT/5NXp2vmosaCwKSzXEaR1bAd/gw19MEM+2XH/SdC0TJ1ykQPe0dBzOxho7GvG fSAAdUfR7ocAu0fvCvxPpmRX+sT7aEtiAiLBXe1nE+ga2pmWS2rPmQyoE8FIZQopOZrR ossMpD6cKUqx4S+O18RHdKHJku9BkUBE3ycZYF2jLTMrEErZA6d0yzE050E50N8inK4r 3be3N4rWsu+pxVTvYtlva/gOEd+mhqDOOLaM/KmZj7u4aWEd4uEb4KG3P8HtfjIE57HL 66pw== X-Gm-Message-State: AOAM533q02u6aGtbnXH3wwWBAbPGr8jaq9xprQUGhi/Wnr3OVVrVQrMX Z8PHVpxjHG5bKf7UKWB7t3l7mMPV X-Google-Smtp-Source: ABdhPJz9X82txYW4ieKc14y61jdQKTEW9gY7hu+L9STFHS6HUI7MOiPjPHxMP0QG3sagnsoKqLKquw== X-Received: by 2002:a05:6808:646:: with SMTP id z6mr6256854oih.71.1595555760470; Thu, 23 Jul 2020 18:56:00 -0700 (PDT) Received: from [192.168.0.100] (adsl-074-188-244-130.sip.asm.bellsouth.net. [74.188.244.130]) by smtp.gmail.com with ESMTPSA id d11sm1077084oom.6.2020.07.23.18.55.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jul 2020 18:56:00 -0700 (PDT) Subject: Re: [gentoo-user] Youtube-dl and file time stamps. To: Gentoo User References: <98c19240-d864-e32a-b116-7582693b643a@gmail.com> <5f0fdbf1.1c69fb81.4050d.7bcfSMTPIN_ADDED_MISSING@mx.google.com> From: Dale Openpgp: preference=signencrypt Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata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Fo6oJVjuEgy1dvu1wFfDq7c+i8GAHu L4pYzyXYu6PporlNNU0xSwdVgzM/uuK0lt+UxCimgC+YR3IezgDcbfudb7h9dGIwL+bbPL0A EQEAAYkCNgQYAQgAIBYhBNnuy6u48FpLrRsJhe8Qz9da75mcBQJcXOzIAhsMAAoJEO8Qz9da 75mcXZ4P/1YXgWDZek7mhzrf6uaQzMxa92P89HeWz4PlgB/32symeEFAV04WazzBZffI8AYY rGA1Xmu/2VaB9+FOODyKhUWBc2UL0NRWBk6POwboyTdKlclmpixaN9zLcBt0YLejoRfN1B/5 aQf9/lUDZMnAiCyz0FgeqEMUshldmwWC35RqnjrCbbuk2vIqSH6BLDIXU6jQrLHE1DF0ai41 wLtQFAFXPhn45n0ZwYhVs4Z32z4sjXrIvgBgCaXa4HM+L1Klne0KiNM8ReFTTpTE0SgyDOSZ O3MOa2n77i6JbVtsbiFYnNeP3J9S/l3jevGpZEtNQOKrIm1MW8jGuHWtsDeMkT/mCcSodlkt PxIo+mMK9GpGvG2hW80LiohqNfUbNwAmr3blOYY4URPXPRnEnPs4pmTmL5owjw2dkg145i9I D42Tq+XZ6YtWt3SGzGbAYow6XwTwZ5NFAzV9UQuCGrDw4KWan6O6Z+VIYWsn0UMZlu1Obxna aocofkaUCbISK26kImuD1aA8juSHC18Qv1xUage6/UakbSxyDtACqt6hOVFKX3IA59ApdNRT +2x3iCmlvF9MJsGgFq6IpqL+Fk7iWV8Kjbz0wQOId6N9+JdQh3LrLaS7a1PowUm1z9DK5/O0 Yg+gpDnEOOFI7WM5u7a7FSM2Z/LXGVwel/0eWvLk9tN6 Message-ID: <573d1aba-f58d-4d2c-4325-391b05b7656a@gmail.com> Date: Thu, 23 Jul 2020 20:55:58 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <5f0fdbf1.1c69fb81.4050d.7bcfSMTPIN_ADDED_MISSING@mx.google.com> Content-Type: multipart/alternative; boundary="------------61C7176FBBB077D36440883C" X-Archives-Salt: e7d04130-4497-4f6d-ae83-4e5f84e8fa2f X-Archives-Hash: 832d0b261ba4f5b4cf97e2002e41c1e6 This is a multi-part message in MIME format. --------------61C7176FBBB077D36440883C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simon Thelen wrote: > [2020-07-15 17:30] Dale >> Howdy, > Hi, > >> I'm not sure what causes this because it doesn't always do this.  When I >> use youtube-dl to download videos, it sometimes uses the current date and >> time for the time stamp.  I like that because I can sort by date and see >> new videos.  On some sites tho it seems to use the time stamp of the file >> on the server I am downloading from not when it was put on my system.  >> Sometimes I download a video and it may have a time stamp of years ago, >> decades sometimes.  I looked through the help page but can't find a option >> to tell it to use local time instead of the time from the remote server >> file.  Needless to say, when it does this, I can't tell which videos I >> recently downloaded since sorting by time stamps is no longer accurate. >> It's annoying. >> >> Has anyone else noticed this behavior? Is there a way to tell it to stop >> setting it to really old time stamps?  Some option that isn't documented >> maybe. > You're probably looking for the --no-mtime option. Depending on what > you're using to sort your local videos you can always just tell it to > sort by ctime instead of the (probably) default mtime. Several other > file download programs set the mtime to the last-modified header or > similar, but they tend not to touch the ctime. > This ended up being the best solution.  It seems to work well.  Sort of odd in a way but as long as I can sort by the order I downloaded files, I don't care how strange it is.  lol Thanks. Dale :-)  :-)  --------------61C7176FBBB077D36440883C Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Simon Thelen wrote:
[2020-07-15 17:30] Dale <rdalek1967@gmail.com>
Howdy,
Hi,

I'm not sure what causes this because it doesn't always do this.  When I
use youtube-dl to download videos, it sometimes uses the current date and
time for the time stamp.  I like that because I can sort by date and see
new videos.  On some sites tho it seems to use the time stamp of the file
on the server I am downloading from not when it was put on my system. 
Sometimes I download a video and it may have a time stamp of years ago,
decades sometimes.  I looked through the help page but can't find a option
to tell it to use local time instead of the time from the remote server
file.  Needless to say, when it does this, I can't tell which videos I
recently downloaded since sorting by time stamps is no longer accurate.
It's annoying.

Has anyone else noticed this behavior? Is there a way to tell it to stop
setting it to really old time stamps?  Some option that isn't documented
maybe.
You're probably looking for the --no-mtime option. Depending on what
you're using to sort your local videos you can always just tell it to
sort by ctime instead of the (probably) default mtime. Several other
file download programs set the mtime to the last-modified header or
similar, but they tend not to touch the ctime.



This ended up being the best solution.  It seems to work well.  Sort of odd in a way but as long as I can sort by the order I downloaded files, I don't care how strange it is.  lol

Thanks.

Dale

:-)  :-) 
--------------61C7176FBBB077D36440883C--