Mac file manipulation for power users?
December 22, 2011 8:07 PM Subscribe
Is there a SQL-like way to interact with the Mac filesystem? Failing that, what's better than the Finder for batch copies/moves/deletions?
I have a ton of files spanning many folders that I'd like to delete based on certain criteria (label, modification date, etc).
I spend most of my day interacting with relational databases, so if I could just type something like "DELETE FROM directory, subdirectories WHERE LABEL='RED'" that would be amazing. However, I'm open to anything that's an improvement on using the mouse-heavy Finder to manipulate thousands of files and folders.
I'm running Mac OS 10.7, but solutions for Windows are welcome too (I know about the upcoming filesystem-related features in SQL Server Denali but I need something that works easily for an entire drive). Thanks in advance!
posted by ripley_ to computers & internet (12 answers total) 6 users marked this as a favorite
Alternatively, check out Automator. It's sort of a super basic IDE for writing AppleScript and I wouldn't be surprised if it solved your problem out of the box. It's part of the base OS.
posted by feloniousmonk at 8:08 PM on December 22, 2011 [1 favorite]