renaming file names beginning with -

From: Micha Feigin (michf_at_post.tau.ac.il)
Date: 11/29/03

  • Next message: Alan Chandler: "Info Problem"
    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
    

  • Next message: Alan Chandler: "Info Problem"

    Relevant Pages