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 95275138334 for ; Thu, 30 Aug 2018 00:45:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AC72E0831; Thu, 30 Aug 2018 00:45:40 +0000 (UTC) Received: from pmta11.teksavvy.com (pmta11.teksavvy.com [76.10.157.34]) (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 EE488E0824 for ; Thu, 30 Aug 2018 00:45:39 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2EwAwDpPIdb/xabSC1ZGQEBAQEBAQEBA?= =?us-ascii?q?QEBAQcBAQEBAYNPgWQogyuEdYNJGowqgg2WKBSBZjYBhEACgwwhNBgBAgEBAQE?= =?us-ascii?q?BAQICAmkohTkBBTpPGAsJExIPBVyFI6U+GgKET4UfihAXP4ECP4ESgmSFFWSCZ?= =?us-ascii?q?YImAogAkzkJAoIHjV8igT+GfBYMAw+FYQGVGTmBUn0IgySQbyMweQGMDwEB?= X-IPAS-Result: =?us-ascii?q?A2EwAwDpPIdb/xabSC1ZGQEBAQEBAQEBAQEBAQcBAQEBAYN?= =?us-ascii?q?PgWQogyuEdYNJGowqgg2WKBSBZjYBhEACgwwhNBgBAgEBAQEBAQICAmkohTkBB?= =?us-ascii?q?TpPGAsJExIPBVyFI6U+GgKET4UfihAXP4ECP4ESgmSFFWSCZYImAogAkzkJAoI?= =?us-ascii?q?HjV8igT+GfBYMAw+FYQGVGTmBUn0IgySQbyMweQGMDwEB?= X-IronPort-AV: E=Sophos;i="5.53,305,1531800000"; d="scan'208";a="45483738" Received: from unknown (HELO waltdnes.org) ([45.72.155.22]) by smtp.teksavvy.com with SMTP; 29 Aug 2018 20:45:38 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 29 Aug 2018 20:45:29 -0400 From: "Walter Dnes" Date: Wed, 29 Aug 2018 20:45:29 -0400 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] [SOLVED] Cellphone VFAT datestamps versus linux datestamps Message-ID: <20180830004529.GA27664@waltdnes.org> References: <20180829023951.GB17522@waltdnes.org> <20180829082231.1f859b17@digimed.co.uk> 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: <20180829082231.1f859b17@digimed.co.uk> User-Agent: Mutt/1.10.1 (2018-07-13) X-Archives-Salt: 0bcaedb2-201c-446e-a235-ccc222cc065a X-Archives-Hash: b6e227f266340c7ace496ea8c88bc82f On Wed, Aug 29, 2018 at 08:22:31AM +0100, Neil Bothwick wrote > On Tue, 28 Aug 2018 22:39:51 -0400, Walter Dnes wrote: > > > 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. > > You don't even need that, exiftool has a FileModifyDate tag, which is the > filesystem date not an EXIF tag, so you can simply set FileModifyDate to > CreateDate for each file. > > exiftool '-FileModifyDate I don't run "desktop environments"; I run useful applications