Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Re: [SLE] change date
  • From: Paul Abrahams <abrahams@xxxxxxx>
  • Date: Wed, 16 May 2001 21:38:43 -0400
  • Message-id: <3B032BA3.5BD668AC@xxxxxxx>
Tor Sigurdsson wrote:

> Þann fimmtudagur 17 maí 2001 01:07 skrifaðir þú:
> > Mads Martin Jørgensen wrote:
> > > * Charlie Ti <shadout@xxxxxxxxxxxxxxxx> [May 16. 2001 10:11]:
> > > > how can i change the date of a file on a fat partition, either whith
> > > > windows or with linux.
> > >
> > > % touch filename?
> >
> > That'll work, of course, if you want to attach the current date or if
> > you're willing and able to temporarily change the system date (probably a
> > very bad idea). I wonder if there's a way to change a file's date to an
> > arbitrary date.
>
> Try
> touch -d 20010113 yourfile.txt
>
> Strange how few read the man....

Easy if you know what the right page is <s>.

Paul




< Previous Next >