Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Re: [SLE] change date
Þann fimmtudagur 17 maí 2001 01:07 skrifaðir þú:
> Mads Martin Jørgensen wrote:
> > * Charlie Ti <shadout@xxxxxxxxxxxxxxxx> [May 16. 2001 10:11]:
> > > Hi,
> > > 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.
>
> Paul

Try
touch -d 20010113 yourfile.txt

Strange how few read the man....

-tosi


< Previous Next >