Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

Update files without changing <DateStamp>?

From no.top.post@gmail.com
Newsgroups comp.os.linux.misc, alt.os.linux.slackware, alt.os.linux.redhat
Subject Update files without changing <DateStamp>?
Date 2015-07-18 05:13 +0000
Organization A noiseless patient Spider
Message-ID <mocn95$426$1@dont-email.me> (permalink)

Cross-posted to 3 groups.

Show all headers | View raw


Out of a file-tree you need to see the <stack> of recent files,
simular to `ls -t <tree> | head -22`

Because these are the files which relate to the current PANIC!

The following seems to work for me; please advise of 
errors/improvements:--
    echo  "List $ N latest files in current-tree"
    find $2 -type f -exec ls -l {} \; |\
    awk '{print $6 " : "  $8 }' | sort|tail -$1

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.

==TIA.

Back to comp.os.linux.misc | Previous | NextNext 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