Groups | Search | Server Info | Login | Register
Groups > alt.os.linux.redhat > #3
| 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 | 2015-08-15 01:53 +0000 |
| Organization | A noiseless patient Spider |
| 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> |
Cross-posted to 3 groups.
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 | Next — Previous in thread | Find similar
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