Automatically Move/Delete Some Files

Discussion in 'OS X Mavericks (10.9)' started by MBP123, Jan 14, 2014.

  1. MBP123 macrumors regular

    Joined:
    May 26, 2006
    #1
    I have a folder on my computer where files are automatically added, but I only care about seeing ~ 1% of them. Is there a way (via automator or some other tool) to either delete the files I don't want, or move the ones I do want to a separate folder automatically without me having to manually run a script every time?

    Basically, I get these files automatically generated every minute of every day, and I would like to have them there for reference. But I really only want to check on them every 3 hours or so. So for the 1440 files (# of minutes in a day) that are created each day, I really only care about 8 of them.

    Any ideas?
     
  2. kastorff macrumors regular

    kastorff

    Joined:
    Oct 7, 2006
    #2
    A lot depends on the criteria you need to determine the value of the files. Folder Actions (part of OS X) might support what you need. Or you could give Hazel a look. It's a very good (but expensive) automation tool that works with Folder Actions to do just about anything you might want.

    http://www.noodlesoft.com/hazel.php
     
  3. MBP123 thread starter macrumors regular

    Joined:
    May 26, 2006
    #3
    I would like to have only the files generated at 12am, 4am, 8am, 12pm, 4pm, 8pm moved to a different folder/preserved. Do you think that is achievable?
     
  4. kastorff macrumors regular

    kastorff

    Joined:
    Oct 7, 2006
    #4
    I've not much experience with Folder Actions proper, so this might be easily doable without Hazel, but a Hazel rule on the creation folder like this might work. There are numerous other criteria than creation occurrence that might work in the event this approach fails.
     

    Attached Files:

  5. MBP123 thread starter macrumors regular

    Joined:
    May 26, 2006
    #5
    Alright cool, I'll check this out and keep you posted on if it succeeds.

    I'm using IFTTT to take the files and put them into a Dropbox folder. From there I'll give Hazel a shot and hopefully it only leaves me with those 6 files per day.
     

Share This Page