Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'additional info that might help' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
additional info that might help
Authored by: jaysoffian on Jun 15, '05 01:51:26PM
And perhaps a "better" way to do this is:

lsof -c mdimport -a ~
Although I admit half the time I can't remember lsof's options either (and its man page is awful), so I often resort to grep as well. But in this case, it only took a moment to find the correct options and if you're going to share a hint with others, it's worth the extra effort, don't you think? :-)

[ Reply to This | # ]
additional info that might help
Authored by: adrianm on Jun 16, '05 03:36:23AM
That doesn't completely work.

That is saying the command must be mdimport AND it must be your home directory - but not the contents.

You probably want this:


lsof -c mdimport -a +D ~
Which matches the contents of the home directory, but that, as the man page says is very slow, so maybe a compromise is order:

lsof -c mdimport | grep /Users/yourusername
Maybe you should have spent a bit more time reading the lsof man page :-)

[ Reply to This | # ]