renaming file names beginning with -
From: Micha Feigin (michf_at_post.tau.ac.il)
Date: 11/29/03
- Previous message: Paul Morgan: "Re: freebsd - Re: recommended Virus Scanner?"
- Next in thread: Florian Ernst: "Re: renaming file names beginning with -"
- Reply: Florian Ernst: "Re: renaming file names beginning with -"
- Reply: Nick Welch: "Re: renaming file names beginning with -"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Nov 2003 00:41:44 +0200 To: debian-user <debian-user@lists.debian.org>
I occationaly get files with a name beginning with - (minus) on my system. When
trying to rename them I get an error that the option does not exist.
For example with mv -hello- hello I get an error
mv: invalid option -- h
Try `mv --help' for more information.
Is there a way to do this without resorting to graphical file managers?
I tried prepending a \ the the filename but it didn't help.
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Paul Morgan: "Re: freebsd - Re: recommended Virus Scanner?"
- Next in thread: Florian Ernst: "Re: renaming file names beginning with -"
- Reply: Florian Ernst: "Re: renaming file names beginning with -"
- Reply: Nick Welch: "Re: renaming file names beginning with -"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Changing Uppercase filenames into Lowercase
... > I already found MAKEUP.COM which breaks down a filename ... > uses the
RENAME command to rename lowercase names and ... > lowercase filename. ...
> The filename remains uppercase because DCL uppercases ... (comp.os.vms) - Re: [OT] Naming Schemes (was: Laptop with Linux preinstalled)
... > quasi-classical name, atticus, so called because it was located in the ...
new processer, new case, new motherboard, new hard drives, but ... To UNSUBSCRIBE,
email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User) - Re: Renaming files using wildcards
... When I strip down the filenames of their ... spaces, the rename works
well. ... strip the filename of it's spaces, ... rename command can't find
the file name to rename when it ... (microsoft.public.windowsxp.general) - Re: Cannot delete file with long name
... Completely ignores attempts to rename. ... Did find a utility which is able
to display the short filename and delete ... Explorer shell to crash. ...
I can delete the problem files by deleting the entire folder they are ... (microsoft.public.windowsxp.general) - Re: media player 10
... rename your media library. ... I have XP and all I did was to copy the
filename ... If nothing happens soon I'll just switch media players! ...
(microsoft.public.windowsmedia.player)