Date: 15 Aug 2007
> How to let command touch to work with irregular file names? > > FYI, I tried this but didn't work: > > $ touch -r -- "-test.file1" "-test.file2" > touch: invalid date format `est.file1'
That's nearly right; put the — immediately following the last option, e.g.
$ touch -r '-test.file1' — '-test.file2'
Philip Rowlands @doc.ic.ac.uk