mv - move, rename

move: shell session

~ % cd /cake
/cake % ls
ireland/  louis     otto
/cake % mv louis ireland
/cake % ls ireland
louis
/cake %

total 40 keystrokes

move: Interrogator session



1) Go to the /cake directory.

     ^/ c a k e /

(The first ^/ goes to the root directory. Use cmd/ on Mac. Then you select cake by typing. The second / opens the cake directory.)


2) Select the file louis, copy its name to the clipboard.

     l o ^C

(Type just enough letters to pick louis out from the crowd. Use cmdC on Mac.)




3) Go to the ireland directory and Move the file there. (Use ^cmdV on Mac.)

    i r / shift^altV


total 13 keystrokes and 4 modifiers

You can use Rename mode to change the name (see next section).


rename: shell session

/cake % mv louis shirley

total 17 keystrokes

rename: Interrogator session



1) In the proper directory, type in louis or just enough letters to choose louis.



2) Type the keystroke for Rename mode.

X11: shift ^ alt R
Mac: ^ cmd R


3) You are now in Rename mode, selecting the whole name - alter the name any way you want.

Type Return when you are done. Type Escape to abort renaming.


total 13 keystrokes and 2 modifiers

For more details about the copy and paste commands in Interrogator, see the Copying discussion.



Documentation > Unix Command Index > mv        

                     

T a c t i l e   I n t e r r o g a t o r   W e b s i t e