Monitor SuperDrive and import files

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Monitor SuperDrive and import files Sat Jun 23, 2012 4:28 pm • by AgentEd
Is there a way to have Hazel Monitor the SuperDrive (USB) so when a disc is insertsted it will import any images?
AgentEd
 
Posts: 1
Joined: Sat Jun 23, 2012 4:26 pm

Re: Monitor SuperDrive and import files Mon Jun 25, 2012 3:37 pm • by Mr_Noodle
You could have Hazel monitor the /Volumes folder and then descend into any newly mounted volumes. I'd be very careful with this since every filesystem (and therefore, every single file) is potentially under /Volumes. You don't want Hazel to descend every folder indiscriminately as it will take forever. You need to severely limit which folders it descends into.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Monitor SuperDrive and import files Thu Jul 12, 2012 5:52 pm • by wally007
Sorry to bring up old thread, but how do i monitor /Volumes directory ? It's hidden in the select window folder even though i've made allInvisible files shown in Finder ?!
wally007
 
Posts: 5
Joined: Sat Dec 03, 2011 11:44 am

Re: Monitor SuperDrive and import files Fri Jul 13, 2012 3:10 pm • by Mr_Noodle
In any open dialog, if you type in the path, a little field will pop up. Just type in the slash (/) and it will appear.

An important thing to note: be very careful about your rules. Every file in your system is accessible underneath /Volumes. That means that (a) if you decide to have Hazel go into subfolders, you will bring your machine to a crawl and (b) you could potentially process system files and such that you probably didn't mean to. Make sure to limit any rule to go into subfolders to a specific folder and also limit how deep it goes if possible.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Monitor SuperDrive and import files Tue Jul 24, 2012 11:44 pm • by flynn
To show the /Volumes folder, you can also just either type in terminal
Code: Select all
sudo chflags nohidden /Volumes
followed by your password (you will not see typed characters).
You can also go in finder in the go menu, (shift + cmd + g), type in /Volumes. Then in hazel, open the dialog to choose a folder and drag the folder from /Volumes into the window in hazel.
flynn
 
Posts: 66
Joined: Sun Apr 08, 2012 12:41 pm
Location: Philippines


Return to Open Discussion