Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!uvaarpa!haven.umd.edu!mimsy!ra!phillips From: phillips@fozzie.nrl.navy.mil (Lee Phillips) Newsgroups: comp.unix.shell Subject: Modifying files while retaining file modification times Message-ID: Date: 14 May 91 20:48:01 GMT Distribution: usa Organization: Naval Research Laboratory Lines: 10 I want to do something to a file, say encrypt it, without changing its modification time. I suppose I can write a script to get the time from ls, do the modification, then restore the time (after converting it to numerical format) with /usr/5bin/touch, but I'm hoping that there is an easier way. How about it? (Csh solutions preferred.) -- Lee Phillips phillips@fozzie.nrl.navy.mil phillips@cmf.nrl.navy.mil phillips@lcp.nrl.navy.mil