How To Use Mac Osx Automation To Look For Files And Move Them To Another Folder

Posted on
How To Use Mac Osx Automation To Look For Files And Move Them To Another Folder

Apr 27, 2015 - You would use something called Folder Action. Right click on the Folder you want to monitor and select Folder action set up. In the new window.

I managed to figure out a way to do this on a directory by directory basis, permanently. I was trying to access a PowerPoint Presentation my son was writing for school without having to login as him so I could review it. Follow these steps to access the Library folder through Finder's Go menu.

In the Finder, choose Go > Go To Folder. In the Go To Folder dialog, type /Users/[Username]. Right Click on the Documents (or Pictures, etc.) directory Choose 'Get Info' Click the Triangle Next to Sharing & Permissions Click the lock Click the + sign Add admin Change the permissions from read to 'read/write'. If your two users are going to be sharing files a lot, the setups @John suggested are good; but if this is not something you'll be doing a lot, there are several ways to do it using OS X's standard folder & permission setup: • User1 could place the photos in /Users/user1/Public, and User2 (or anyone else on the computer) can copy them from there. Word for mac fill out forms. • User1 could place the photos in /Users/Shared, with similar results.

• User1 could place the photos into /Users/user2/Public/Drop Box, and then only User2 can get at them. Actually the easiest way to handle what you want is to give yourself sudo privileges. I believe on Mac OS X your user (i.e., user1) would just need to be part of the admin group.

Once user1 is part of the admin group, then you can run any command from the terminal in the following way and it will use root privileges: sudo mv /home/user1/files /home/user2/pictures the very first time you ever do this, the system will give you a warning about 'with great power comes great responsibility.' And it will prompt you for a password. If you are running this command as user1, the password it wants is user1's password - not root's password nor user2's password. Note that, by configuration, the system may cache the password for a set amount of time or until you end the terminal session.

How To Use Mac Osx Automation To Look For Files And Move Them To Another Folder

When it expires and you run sudo as user1 it will prompt you again for user1's password. Sudo only works for the specific command you give it.