[EdLUG] renaming of illegal filenames
Stephen C. Tweedie
sct at redhat.com
Wed May 20 10:03:06 UTC 2015
Hi,
On Wed, 2015-05-20 at 10:58 +0100, Joe Barnett wrote:
> I've drawn a blank here, I have a few files which I want to move but
> mv does not like them and rename will not touch them. I cannot even
> directly ls them.
"--" separates options from arguments for most of coreutils. So any
arguments beginning in a "-" will be correctly processed if you precede
them with the "--".
So "mv -- * [dest]" should work fine for these files.
--Stephen
More information about the EdLUG
mailing list