[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mv on file deleted it?

mv *105* /var/www/jschwarz is the actual command

$type mv
mv is hashed (/bin/mv)

The find produces nothing. I'm running ext3... so the undelete should be the same, no?

I think I'm hosed. I do have backup, but no access to it until next month, long story.

System is more or less standard. I think that the files were deleted by another process, I will have to see if anything could have caused that.

Thanks for the help,
On Tuesday, April 22, 2003, at 07:13  PM, Michael Naumann wrote:

On Tuesday 22 April 2003 23:11, Jonathan Schwarz wrote:
I had a bunch of files that I had backed up from my old version of my
website. I went to move them to my web dir, and I managed to delete

I was in my home dir, and the command was like this:
mv *105* /var/www/jschwarz

I don't think that this command can do any harm - except your mv
is something strange.

I suppose
a) You have aliased mv or have another mv in your path
  type mv
  If this echoes /bin/mv you should be lucky.

b) You typed something different to what you wrote here
  Go back in your shell-history and find the correct command.
  If that's not possible, try:
  find / -name "*105*"
  Then lite another cigarette and wait.

c) Another process just deleted everything from your /var/www/jschwarz
  Now it depends on your filesystem-type.
  AFAIK, only for ext2 exists a kind of undelete.
  In either case, it's probably easyest to restore from your backup.
  (Of course you have one, don't you?)

d) If neither a)-c) apply, your system must be really screwed up.

HTH, Michael

To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: