Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I installed sshfs a Linux box and then mounted my Mac home directory. In the middle of troubleshooting a configuration issue, I did an ls -l on the mount directory (as normal user), receiving:

total 0
d????????? ? ? ? ?            ? sl

I then ran sudo rm -r on that directory but pressed Ctrl+C to terminate it immediately before it (looks) like the command did anything. I notice no files missing but I want to be sure - is there a way I can somehow inspect the filesystem log on my Mac to see if any files were actually removed?

share|improve this question
    
There is no "filesystem log" (unless you mean the HFS+ journal???). The best you can probably do is look at the modification times of the parent directories of the things that might have been removed. If the modification time is right around the time you did the rm -r, then chances are something got removed. –  Celada Dec 20 '12 at 4:10
    
To clarify/rephrase: look at the modification time of the directory in which (to which) you applied the rm command and all subdirectories beneath it. If rm started by deleting a/b/c/f, then only a/b/c would have been modified. –  Scott Dec 20 '12 at 22:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.