Groups | Search | Server Info | Login | Register


Groups > comp.os.linux.misc > #15071

Re: Update files without changing <DateStamp>?

From Joe Beanfish <joebeanfish@nospam.duh>
Newsgroups comp.os.linux.misc, alt.os.linux.slackware, alt.os.linux.redhat
Subject Re: Update files without changing <DateStamp>?
Date 2015-07-18 18:15 +0000
Organization A noiseless patient Spider
Message-ID <moe54s$gep$1@dont-email.me> (permalink)
References <mocn95$426$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


On Sat, 18 Jul 2015 05:13:12 +0000, no.top.post wrote:
> When examining these recent/hot files, you obviously want to edit some.
> But you don't want to change their <time heirarchy>. New/additional
> files can be <correctly> dated.
> 
> How could I achieve EASILY this.

touch -r fileToEdit fileToEdit.timestamp
FAVORITE_EDITOR_HERE fileToEdit
touch -r fileToEdit.timestamp fileToEdit
rm fileToEdit.timestamp

Put it in a script for ease of use.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Update files without changing <DateStamp>? no.top.post@gmail.com - 2015-07-18 05:13 +0000
  Re: Update files without changing <DateStamp>? Chris Elvidge <chris@raspberrypi.mshome.net> - 2015-07-18 16:44 +0100
  Re: Update files without changing <DateStamp>? Joe Beanfish <joebeanfish@nospam.duh> - 2015-07-18 18:15 +0000
    Re: Update files without changing <DateStamp>? Unknown <dog@gmail.com> - 2015-08-07 11:48 +0000
      Re: Update files without changing <DateStamp>? Joe Beanfish <joebeanfish@nospam.duh> - 2015-08-07 13:38 +0000
        Re: Update files without changing <DateStamp>? Unknown <dog@gmail.com> - 2015-08-15 01:53 +0000

csiph-web