It would appear that someone has snooped on my MBP. My external drive was simply unplugged (not unmounted), so I got errors about that. Is there any way that I can tell what else was done during that time (since I have a rough time range)?
What I've tried:
I have looked in Finder "All My Files" and sorted by "Date Last Opened". I didn't see anything there in the time range.
In "Recent Items" I don't see any programs that I think wasn't me.
I've looked in console (I see lots of errors about my external drive not being found, not sure what else I can look for).
Any suggestions would be helpful.
Thanks.
Was the drive actually unplugged? If so, then someone might have just grabbed your computer to look something up. You can look in Safari or Firefox history.
Theory #2 The macbook went to sleep or simply lost connection with the drive for some other reason, maybe the fault of the drive itself. Could even have been a static discharge when you sat down to use the computer again.
Theory #3 Someone needed the desk space so they unplugged the drive and moved the computer. Probably they needed to wrap some presents.
Looking in Finder for most recent files won't tell you much, but you could do an advanced find, include system files and last opened or modified within the last day. The steps to that are OS X version dependent.
Or you could run the following perl script using
./findMostRecent.pl / >mostRecent20141227.txt
That would output a tab delimited text file you could open in Excel and browse around.
run it as root with sudo if you don't want to see the Permission denied errors.
#!/usr/bin/perl -w
my $findPath = $ARGV[0];
chomp$findPath;
my @fileList = `find -x '$findPath' -type f`;
my %files;
foreach (@fileList) {
chomp $_;
s/\/\/$//;
next if ($_ =~ m/\.DS_Store/);
my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks) = lstat($_);
$files{"$size\t$_"} = $mtime;
}
@sorted = sort {$files{$a} <=> $files{$b} } keys %files;
print "Date\tSize\tFileName\n";
foreach (@sorted) {
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($files{$_});
$mon = $mon + 1;
if ($mon =~ m/^\d$/) {$mon = "0$mon";}
if ($mday =~ m/^\d$/) {$mday = "0$mday";}
if ($hour =~ m/^\d$/) {$hour = "0$hour";}
if ($min =~ m/^\d$/) {$min = "0$min";}
#$mday = $mday +1;
$year = $year += 1900;
print "$year $mon $mday - $hour$min\t$_\n";
}