Groups | Search | Server Info | Login | Register


Groups > alt.os.linux.redhat > #3

Re: Update files without changing <DateStamp>?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Unknown <dog@gmail.com>
Newsgroups comp.os.linux.misc, alt.os.linux.slackware, alt.os.linux.redhat
Subject Re: Update files without changing <DateStamp>?
Date Sat, 15 Aug 2015 01:53:26 +0000 (UTC)
Organization A noiseless patient Spider
Lines 42
Message-ID <pan.2015.08.15.01.56.52@gmail.com> (permalink)
References <mocn95$426$1@dont-email.me> <moe54s$gep$1@dont-email.me> <pan.2015.08.07.11.51.23@gmail.com> <mq2cca$ti5$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Sat, 15 Aug 2015 01:53:26 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="37edc738f980336e369fdf6eb45ede9d"; logging-data="6875"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5kmAxKZDqXF8zqJ1OIH5cSiRn0DUqVdo="
User-Agent Pan/0.133 (House of Butterflies)
Cancel-Lock sha1:dZsL7uBohCFL5TkTgQGqS/XIqjo=
Xref csiph.com comp.os.linux.misc:15149 alt.os.linux.slackware:25366 alt.os.linux.redhat:3

Cross-posted to 3 groups.

Show key headers only | View raw


On Fri, 07 Aug 2015 13:38:18 +0000, Joe Beanfish wrote:

> On Fri, 07 Aug 2015 11:48:34 +0000, Unknown wrote:
> 
>> On Sat, 18 Jul 2015 18:15:56 +0000, Joe Beanfish wrote:
>> 
>>> 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.
>> 
--- snip --
>> Perhaps the the one, one-liner is a two-command ?
> 
> No, your news reader combined lines. When reading code make sure your
> reader is not reformatting. Here's the example again with a blank line\
> between each command:
> 
> touch -r fileToEdit fileToEdit.timestamp
> 
> FAVORITE_EDITOR_HERE fileToEdit
> 
> touch -r fileToEdit.timestamp fileToEdit
> 
> rm fileToEdit.timestamp

Thanks for the <extra script>; we need a menu-system for all the scripts.
Perhaps one-of-my NewsReaders smart-arses lines.
Personally I'm a fanatic advocate AGAINST auto-formatters, and can't
accept that a very competent poster's single-quotes are given as *3-bytes*
by his emacs-system.

Back to alt.os.linux.redhat | Previous | NextPrevious in thread | Find similar


Thread

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