Help Using CAFFEINATE (Terminal)

Discussion in 'macOS' started by 1251division, Feb 19, 2015.

  1. 1251division macrumors member

    Joined:
    Oct 8, 2012
    #1
    I'm looking for help with a terminal command (how to input/execute).

    My system goes idle and sleeps after the sleep timer, and I want to use CAFFEINATE to prevent sleep until the program is finished running. Program in question is ClamXav.

    I'm not quite sure how to write the syntax, so far I've got:
    CAFFEINATE -i ????

    (from: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/caffeinate.8.html#//apple_ref/doc/man/8/caffeinate)

    I'm looking for help on how to make sense of this, and how to find the UTILITY address and what exactly to put in the command line, and how to as well.

    Thanks so much for helping me with my n00b question!
     
  2. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #2
    Use caffeinate -dims. That should prevent it from sleeping.
     
  3. SlCKB0Y macrumors 68040

    SlCKB0Y

    Joined:
    Feb 25, 2012
    Location:
    Sydney, Australia
    #3

Share This Page