[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24294: Bug in mv, -- and - prefixes
From: |
Reuti |
Subject: |
bug#24294: Bug in mv, -- and - prefixes |
Date: |
Tue, 23 Aug 2016 19:29:13 +0200 |
Hi,
Am 23.08.2016 um 19:08 schrieb Miku:
> Hello
>
> When doing "mv * dest_folder" and one of files in directory starts with -- or
> - it sees that as an option.
>
> For instance if one of files is named "-v" or "--version" then "mv *
> dest_folder" would work like "mv -v * dest_folder" and "mv --version"
You can switch if off by -- as an option, i.e.:
$ mv -- --foo -bar
The -- ends the list of options and works with `touch`, `rm` and others too.
-- Reuti