Re: Renaming a directory..

1998-02-12 Thread C.J.LAWSON
use the mv (move) command J. On Thu, 12 Feb 1998, Bruno Simoes wrote: > Hi all > Does somebody know if there's some command to *rename* either a file or > directory in Linux. I don't want to move them to another files/dirs. > Thank you > Bruno > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST:

Re: Renaming a directory..

1998-02-12 Thread Manoj Srivastava
Hi, >>"Bruno" == Bruno Simoes <[EMAIL PROTECTED]> writes: Bruno> Hi all Does somebody know if there's some command to *rename* Bruno> either a file or directory in Linux. I don't want to move them Bruno> to another files/dirs. Thank you Bruno On the same filesystem, % mv dir1 dir2

Re: Renaming a directory..

1998-02-12 Thread Keith Beattie
Bruno Simoes wrote: > > Hi all > Does somebody know if there's some command to *rename* either a file or > directory in Linux. I don't want to move them to another files/dirs. > Thank you > Bruno (Hmmm, I smell DOS.) The command: mv old new won't do what you want? (Make sure "new" doesn't al

Re: Renaming a directory..

1998-02-12 Thread Bob Nielsen
Use 'mv oldname newname'. Moving and renaming are synonymous. On Thu, 12 Feb 1998, Bruno Simoes wrote: > Hi all > Does somebody know if there's some command to *rename* either a file or > directory in Linux. I don't want to move them to another files/dirs. > Thank you > Bruno > > > -- > TO UNS

Re: Renaming a directory

1998-02-12 Thread Robert LaGrasse
You rename a file or directory using the mv command. You don't necessarily have to move the directory to another location. For example, if you had a directory full of files in the current path called test, and you issued the command: mv test test.renamed when you listed the contents of the curren

Re: Renaming a directory..

1998-02-12 Thread Steve Mayer
Bruno, That's exactly what the mv command is for. When you issue a RENAME under DOS, you are copying the file to a new name and then deleting the original. What sort of problem do you expect to run into by using the mv command? Steve Mayer [EMAIL PROTECTED] Bruno Simoes wrote: > > Hi all > D

Re: Renaming a directory..

1998-02-12 Thread Alex Yukhimets
> Hi all > Does somebody know if there's some command to *rename* either a file or > directory in Linux. I don't want to move them to another files/dirs. > Thank you > Bruno mv oldname newname "mv" actually *moves* files only if oldname and newname are on the different partitions (filesystems),

Renaming a directory..

1998-02-12 Thread Bruno Simoes
Hi all Does somebody know if there's some command to *rename* either a file or directory in Linux. I don't want to move them to another files/dirs. Thank you Bruno -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]