<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Share your best command]]></title><description><![CDATA[<p dir="auto">I have a Mac and have already created several commands. I love TriggerCMD but I am running out of ideas what else I can do with it.<br />
Wouldn't it be great if you share your best ideas and commands in this thread?<br />
Excited to see what your best commands are.<br />
Cheers...</p>
]]></description><link>https://www.triggercmd.com/forum/topic/1675/share-your-best-command</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 18:29:48 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/1675.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Sep 2021 18:43:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Share your best command on Sat, 25 Sep 2021 20:08:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/russ" aria-label="Profile: Russ">@<bdi>Russ</bdi></a> This is amazing and so useful. I will be getting the new Mac in a couple of weeks and I was wondering already how I get my commands backed up! Perfect timing.</p>
]]></description><link>https://www.triggercmd.com/forum/post/4620</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/4620</guid><dc:creator><![CDATA[Mike]]></dc:creator><pubDate>Sat, 25 Sep 2021 20:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to Share your best command on Sat, 25 Sep 2021 01:14:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mike" aria-label="Profile: Mike">@<bdi>Mike</bdi></a>, I came up with a good one for a mac.  I should have thought of this sooner.  I think it's useful.</p>
<p dir="auto">People sometimes lose all of their commands because their hard drive died or something.  This way you can restore them to a new computer (or hard drive).</p>
<p dir="auto"><strong>Backup your TRIGGERcmd commands to iCloud Drive</strong></p>
<p dir="auto">Put this text in a script called <a href="http://bkuptcmd.sh" rel="nofollow ugc">bkuptcmd.sh</a> in your home directory (or wherever you want):</p>
<pre><code>CMP_ID=$(cat ~/.TRIGGERcmdData/computerid.cfg)
BKUP_PATH="$HOME/Library/Mobile Documents/com~apple~CloudDocs/tcmdBackups/$CMP_ID"
echo $BKUP_PATH
mkdir -p "$BKUP_PATH"
cp ~/.TRIGGERcmdData/commands.json "$BKUP_PATH"
</code></pre>
<p dir="auto">Make it executable with a command like this:</p>
<pre><code>chmod +x bkuptcmd.sh
</code></pre>
<p dir="auto">Create a TRIGGERcmd command and set the command field to this:</p>
<pre><code>~/bkuptcmd.sh
</code></pre>
<p dir="auto">Run your command remotely.</p>
<p dir="auto">Witness your commands.json file in iCloud Drive:</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1632531423755-screen-shot-2021-09-24-at-8.53.59-pm.png" alt="Screen Shot 2021-09-24 at 8.53.59 PM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The folder name is your computer's TRIGGERcmd computer id.  You can match that to your computer record by clicking the View Triggers button for the computer.  The computer id will be in the URL.</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1632532497391-6de595a8-058a-4f52-8099-e7c3de10fe16-image.png" alt="6de595a8-058a-4f52-8099-e7c3de10fe16-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/post/4618</link><guid isPermaLink="true">https://www.triggercmd.com/forum/post/4618</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 25 Sep 2021 01:14:59 GMT</pubDate></item></channel></rss>