sourcecode

Friday, March 30, 2012

rm *

With root privilege, and all files are gone. A good lesson to learn.
Of course I didn't explicitly call the rm command, it happened when I was playing with makefile...

.PHONY: clobber
-rm *.o *

It was intended to delete all intermediate object files, and the resultant executables. After I run
Shell> make clobber
Shell> ls
and everything is gone...

Searched online and there were not good ways to restore the files, or kind of complicated and I don't think it worth the trouble since those were just some CIS 330 homework C++ files.