Jump to content




Whiping all data from a PoC


  • You cannot reply to this topic
5 replies to this topic

#1 gril002

  • Members
  • 38 posts

Posted 18 May 2016 - 07:47 PM

I am trying to whipe clean a Pocket computer from a program on a computer with a disk drive. If I use fs.delete("drive") then it says Access denied. So is it not possible or do I need to use a difrent path?

#2 Chickenbreadlp

  • Members
  • 73 posts
  • LocationGermany

Posted 18 May 2016 - 08:03 PM

If you use fs.delete("/disk/*") it will delete everything on the disk.

#3 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 18 May 2016 - 08:05 PM

It could be having problems with deleting the pocket computers ROM folder (drive/ROM), try deleting everything but that folder.

#4 Chickenbreadlp

  • Members
  • 73 posts
  • LocationGermany

Posted 18 May 2016 - 08:08 PM

View PostLupus590, on 18 May 2016 - 08:05 PM, said:

It could be having problems with deleting the pocket computers ROM folder (drive/ROM), try deleting everything but that folder.
If I ran "rm *" it would also give me an access denied, even though it deleted everything except the rom folder.

#5 gril002

  • Members
  • 38 posts

Posted 18 May 2016 - 08:22 PM

fs.delete("/disk/*") dosen't work. I still get Access denied

#6 Anavrins

  • Members
  • 775 posts

Posted 18 May 2016 - 08:28 PM

fs.delete doesn't handle wildcards, it's the shell api that handles the output of fs.find("disk/*") and executes fs.delete on all of the files.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users