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

Click here to return to the 'Delete matching files in two Finder folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Delete matching files in two Finder folders
Authored by: SeanAhern on Sep 13, '05 07:44:04PM

That might be difficult to implement system-wide. If a (non-Finder) app were operating with a C API, for instance, doing an open(filename, "w") on an existing filename, you would have to capture this at the filesystem level and "Do The Right Thing" (TM), that is, move the file to the appropriate .Trash location. That doesn't exist in any existing filesystem, and you would be hard pressed to do it for legacy filesystems.

Maybe you could write a shim to the "open" system call, but that could cause performance problems and might violate POSIX compliance.

[ Reply to This | # ]