![]()
How can I do a move operation with Automator and show the progress as it happens? A progress bar like I get when moving/copying with the Finder would be ideal, but even a terminal window with a plain-text "13% complete" message or something would be better than nothing at all. Even when I open the options for the 'Move' operation and check "Show this action when the workflow runs," it only shows me where the files are being moved and offers a checkbox to replace existing files (or not). The only problem is that while it moves several ~600MB chunks (up to 16GB total on a micro SD card), I have no indication of progress except for the blinking lights on the device, and eventually the device gets ejected when it's done. #Automator mac move files to new dated folder movieIt automatically renames files with a date/time stamp, moves the files to my movies folder, opens a Finder window showing the movie files, and then ejects the device (see attached screenshot). I've also added a check that the database doesn't exist at all, in which case the appropriate launchd task will be loaded.I have set up an Automator app that launches/runs when I connect my mini video camera. ![]() This way, I don't have to wait for my entire file system to be traversed before getting (stale) results. Double-click the application icon to run your actions. #Automator mac move files to new dated folder updateI've re-written it to be both readable and to ask launchd to asynchronously update the database. Locate your Automator action application on your Desktop or folder. #Automator mac move files to new dated folder how toFor geeks who care, that message we see when attempting to run locate instructs us how to re-enable the weekly rebuild (as i mentioned above), and so they can it get up and running in seconds.īelow is a much nicer version of the original hint. If i had to guess, Apple probably disabled it so that non-Unix folks (who don't use locate on the command line) wouldn't worry about the occasional mysterious background activity, or wonder what's loading down the CPU, etc. Supposedly, Apple crippled it as a security measure, I hadn't heard that (what/where is your source?). #Automator mac move files to new dated folder modAnd locate.updatedb is not "crippled" (at least not on my 2010 Core i7 MBP running 10.6.8): $ ls -l /usr/libexec/locate.updatedb-r-xr-xr-x 1 root wheel 3449 /usr/libexec/locate.updatedbAs can be seen, the mod date there is 2009. Again, it all works fine in Snow Leopard. I believe it was crippled in 10.5.5 (one dated 12/12/08 or earlier will work uncrippled). To rebuild it so nothing's missing, you need to replace the current locate.updatedb executable with the uncrippled one from Leopard, located in its /usr/libexec/ folder, assuming that you still have an early Leopard installation or installer. The locate.updatedb executable is crippled, excluding some system-level items. If GitHub is where developers reside, Jira is what most software. ![]() In fact, when a user attempts to use locate on a virgin Snow Leopard machine, they are presented with this message in Terminal: WARNING: The locate database (/var/db/locate.database) does not exist.To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/ be aware that the database can take some time to generate oncethe database has been created, this message will no longer appear.So, simply follow those instructions (as i have), and Snow Leopard will do the whole weekly "Unix maintenance" task routine, just as Leopard did. Thanks to this connection, each new ticket in Zendesk create a new task in Clickup. So, if you want to rebuild the database, you have to do it manually.or, simply re-enable the automatic task. The launchd trigger, stored in /System/Library/LaunchDaemons/ as and was supposed to launch at 3:15 AM on Saturdays, has been disabled. ![]() Rebuilding the database is no longer part of the weekly maintenance script. I can't speak for Lion, but some of these comments about Leopard & Snowy don't seem right. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |