drwxr-xr-x 2 jwz jwz 68 Nov 8 13:41 ›ĂeÌ‚i®øˇï¬/
drwxr-xr-x 2 jwz jwz 68 Nov 8 13:41 ›÷eÌ‚i®øˇï¬/
drwxr-xr-x 2 jwz jwz 68 Nov 8 13:41 ݠeÌ‚i®øˇï¬/
Update: These turds are coming from the TWAIN plugin to Photoshop CS2. Deleting "/Applications/Adobe Photoshop CS2/Plug-Ins/Import:Export/TWAIN.plugin" fixes it. It was creating these directories every time Photoshop started up, without any actual scanning being involved.
Logging fs_usage didn't help: when the junk was created, it logged mdimport indexing them, but didn't log the creator process. Setting up an "alert" folder action on the Preferences folder was more useful.
chmod -w the directory, wait for something to whine ? Probably check the syslogs at the same time in case it whines there.
the hatter
Run fs_usage around the time these directories appear, or run fs_usage for a long time and trawl the logs.
Holy crap, that is awesome. Hadn't come across that one before. I wonder what other little gems are hiding in this magic box.
And the Unix sysadmin oral tradition continues...
Actually, that's got a man page...
Correct sys admin answer is, "It's not suppossed to do that." or "It does'nt do that on *my* box."
uhh... what <lj user="ydna"> said.
lsof is way better than the fs_usage firehose in this case. fs_usage easily produces megabytes of logs per minute. lsof lists all open files, and the processes that own them. It's an open source project, but OS X is the only operating system I've seen it on in the default install. I always install it on the Unix boxes I use.
I don't see how lsof can help in this case, unless I happen to catch the program during the fraction of a second when it has the file open, which seems unlikely at best.
Oooh, a new tool!
*uses google, as it doesn't appear in Gentoo's repositories*
http://rentzsch.com/macosx/fs_usageIntro
I just pasted that first one into a Cygwin window and got Ae^ijava??/, which is telling. The second and third were similar (e^ijava??/ in both cases). That suggests something... but I don't know what. Go grep for 'Preferences' in any java classes you've got running at the moment, maybe?
I just looked in my ~/Library/Preferences and I've got a prefs file named ^M11072004 (where ^M is a Ctrl-M character). WTF.
The last four bytes decode to "0xBFFFDE2F" in all three cases. Some horribly broken program not initializing its stack properly?
What's your term rendering the text as? Better yet, what's the finder rendering of those names?
Both render as what it looks like there. Noise.
Ahh unicrud! My (least) favorite part about Ubuntu! Hint if you deal with that or other newer linux stuff: LC_ALL=C if you want grep to go at a reasonable speed.
Hmm? That was fixed years ago in Red Hat; are you saying Ubuntu's
grep
is ancient?are you saying Ubuntu's grep is ancient?
What do you expect? Ubuntu is based on Debian.
Another way to skin the cat:
Set up a folder action for "add new item alert" to ~/Library/Preferences
You may or may not get a lot of noise, but it should get you what you need to know.
In my Library/Preferences:
ACDSee??? Preferences
[michael@ilovexemacs Preferences]$ rm ACDSee\342\204\242\ Preferences
remove ACDSeeâ„¢ Preferences? y
Weird translation there where ls doesn't list it but rm does?
[michael@siddhartha Preferences]$ which ls
/sw/bin/ls
[michael@siddhartha Preferences]$ which rm
/bin/rm
Ah, Fink. Are you using a non-standard ls to display contents of directory?
m.
I've seen this before and it sounds like a problem with Photoshop and the Epson TWAIN scanner plug-in. Delete the files and then scan something to see if they come back. Adobe blames Epson and Epson is silent on the matter. I don't know of a fix.
Yup, deleting the Twain plugin fixed it. Thanks!
:)