|
From: | Philip Rowlands |
Subject: | Re: Command touch and irregular file names |
Date: | Wed, 15 Aug 2007 21:23:52 +0100 (BST) |
On Tue, 14 Aug 2007, - Tong - wrote:
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' Cheers, Phil
[Prev in Thread] | Current Thread | [Next in Thread] |