Author Topic: restoring a deleted file in NASM  (Read 13373 times)

Offline jackjps

  • Jr. Member
  • *
  • Posts: 60
restoring a deleted file in NASM
« on: March 01, 2016, 01:05:25 PM »
Is it possible to restore an accidentally deleted file from NASM?

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: restoring a deleted file in NASM
« Reply #1 on: March 01, 2016, 03:44:33 PM »
Ummm... define "from Nasm". There's an "installer" for Windows which has an "uninstaller" which, if you do it wrong, will delete random files. I think we've got that out of there. I hope so! Something deleted with sys_unlink? At one time I used to know how to undelete a FAT file, but I think that's slipped away. I don't know much about the file systems Linux uses. I accidentally deleted my "inbox" last fall, but decided to let it go rather than try to recover it. Surely could have been done...

What are you up against?

Best,
Frank


Offline jackjps

  • Jr. Member
  • *
  • Posts: 60
Re: restoring a deleted file in NASM
« Reply #2 on: March 02, 2016, 11:38:04 AM »
Thanks Frank,
I gave up on it and just rewrote the code.