move

Jeremy C. Reed reed at reedmedia.net
Sat Feb 10 18:10:53 MST 2007


On Sat, 10 Feb 2007, Michael Havens wrote:

> Simple question: I want to rename a file. So I type:
> 
> 	mv <file> <newfile>
> 
> It responds with telling me newfile is not a directory. I inspected man 
> mv and it seems I need to add the T option. Is this correct? (I don't 
> want to screw up the other files in the diredctory)

No you do not need the -T option.

You may want to show us the real command with arguments you typed.

Normally, you get the error about not being a directory when you have more 
than two arguments and the final argument (the target) is not a directory.

  Jeremy C. Reed


More information about the PLUG-discuss mailing list