Re: Mv is destructive

[email protected] (Bob Proulx)
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
Harry <[email protected]> [2002-09-18 11:42:57 -0700]:
> I am in a directory, and I type
> 
> mv ../../filename
> 
> And I omitted the destination on accident.  My file is now gone, where
> is it?  Why does mv delete it?  I makes no sense if I don't have a
> second parameter as a destination.

What version of mv are you using?

  mv --version

My version of mv says the following:

  mv --version
  mv (fileutils) 4.1

  mv ../../filename
  mv: missing file argument
  Try `mv --help' for more information.

Bob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.