I executed the command "rm -f *.jpg" as per pset4 instructions to delete all the jpegs generated by recover.c, only it didn't just delete the jpegs, it deleted all the contents of the folder. No card.raw, no recover.c! What did I do wrong??

  • 1
    You might have accidently executed "rm -f * .jpg", notice the space between * and .jpg. Make sure there's no space between them.
    – Quevun
    Mar 28, 2015 at 5:18
  • maybe but I don't think so, got it all back from Dropbox, I figured if you can retrieve previous versions you could likely restore deleted files, and you can, phew! thanks Mar 28, 2015 at 6:21

1 Answer 1


Maybe an inadvertent space between * and .jpg? Dropbox will allow you get all that stuff back though. Just log in to the Dropbox site, and on your page right click on Files, and select "Show Deleted Files". Then drill dowin into pset4 and jpg and your deleted files can be restored.

  • yep, thank goodness for Dropbox! saved me many times now!!! cheers Mar 28, 2015 at 6:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .