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 038F0138334 for ; Wed, 29 Aug 2018 02:40:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45EA8E089D; Wed, 29 Aug 2018 02:40:01 +0000 (UTC) Received: from pmta31.teksavvy.com (pmta31.teksavvy.com [76.10.157.38]) (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 D8A28E07FE for ; Wed, 29 Aug 2018 02:40:00 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2FCCQBCBoZb/xabSC1aGwEBAQEDAQEBC?= =?us-ascii?q?QEBAYNPgVISKIggg0kajjmWKBSBZjYBhEACgnkhNBgBAgEBAQEBAQICAmkohTk?= =?us-ascii?q?BBAE6RAsLDRQTEg8FXIUbCKUwGgKET4V6ihAXP4ECP4ESgmQuhGdkgmWCJgKIA?= =?us-ascii?q?JMyCQKCB41cIoE/hnoWDAMPhWCVDzmBUn0IgySQbyMweQGLagEB?= X-IPAS-Result: =?us-ascii?q?A2FCCQBCBoZb/xabSC1aGwEBAQEDAQEBCQEBAYNPgVISKIg?= =?us-ascii?q?gg0kajjmWKBSBZjYBhEACgnkhNBgBAgEBAQEBAQICAmkohTkBBAE6RAsLDRQTE?= =?us-ascii?q?g8FXIUbCKUwGgKET4V6ihAXP4ECP4ESgmQuhGdkgmWCJgKIAJMyCQKCB41cIoE?= =?us-ascii?q?/hnoWDAMPhWCVDzmBUn0IgySQbyMweQGLagEB?= X-IronPort-AV: E=Sophos;i="5.53,301,1531800000"; d="scan'208";a="44348160" Received: from unknown (HELO waltdnes.org) ([45.72.155.22]) by smtp.teksavvy.com with SMTP; 28 Aug 2018 22:39:58 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Tue, 28 Aug 2018 22:39:51 -0400 From: "Walter Dnes" Date: Tue, 28 Aug 2018 22:39:51 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Cellphone VFAT datestamps versus linux datestamps Message-ID: <20180829023951.GB17522@waltdnes.org> References: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Archives-Salt: 63639dff-e42a-4706-ad9b-98d66fb9c05e X-Archives-Hash: 2241446858b0346dd49055b9df2aee39 On Mon, Aug 27, 2018 at 11:31:33PM -0400, james wrote > Exif is the data particulars form man image(photo) file formats > > > media-libs/exiftool > Read and write meta information in image, audio and video files This is getting "curiouser and curiouser". I should have done this sooner. I assumed that the datestamp and EXIF data would be the same. But checking "properties" with gqview shows the EXIF date data is correct, with the file datestamp being out to lunch... [i660][waltdnes][~/camera/20180824] exiftool -T -CreateDate IMG_0363.jpg 2018:08:24 14:12:19 [i660][waltdnes][~/camera/20180824] ll -og IMG_0363.jpg -rw-r--r-- 1 477731 Jan 26 2013 IMG_0363.jpg Given this info, I can cobble together a short script. A "for" loop cycles through "*.jpg". Read "CreateDate" from the EXIF data, and feed it into the "touch" command, which would reset the physical file datestamp. -- Walter Dnes I don't run "desktop environments"; I run useful applications