TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Bulk Create Commands

    General Discussion
    3
    6
    148
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Michael VecchiarelliM
      Michael Vecchiarelli
      last edited by

      Wondering if it's possible to create bulk commands when starting a new instance on a machine.

      Has anyone done this? Tried searching the forum but didn't see anything come up.

      Thanks!

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Michael Vecchiarelli
        last edited by Russ

        @Michael-Vecchiarelli, your commands are stored in this file in your home folder, so you could copy your own commands.json file there to create your commands.

        Windows:

        C:\Users\(your username)\.TRIGGERcmdData\commands.json
        

        Mac and Linux:

        ~/.TRIGGERcmdData/commands.json
        

        Russell VanderMey

        Michael VecchiarelliM Steve LeeS 2 Replies Last reply Reply Quote 0
        • Michael VecchiarelliM
          Michael Vecchiarelli @Russ
          last edited by

          @Russ AMAZING! Thank you!

          1 Reply Last reply Reply Quote 0
          • Steve LeeS
            Steve Lee @Russ
            last edited by

            @Russ I spotted that and planned to use rather than your supplied editor as I'd rather use my familiar tools with highlighting, spelling, global search replace etc (vscode).

            Also you editor locked up for me several times.

            I wondered how we get the updated file to be read? Restart the agent somehow?

            RussR 1 Reply Last reply Reply Quote 0
            • RussR
              Russ @Steve Lee
              last edited by Russ

              @Steve-Lee, the agent should pick up your changes as soon as you write them to the commands.json file.

              Russell VanderMey

              Steve LeeS 1 Reply Last reply Reply Quote 0
              • Steve LeeS
                Steve Lee @Russ
                last edited by

                @Russ perfect!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post