# Run Script - Possibly Dumb Question

**URL:** <https://forum.duplicati.com/t/run-script-possibly-dumb-question/10271>\
**Category:** Support\
**Created:** [July 12, 2020, 10:02am UTC](https://forum.duplicati.com/t/run-script-possibly-dumb-question/10271 "2020-07-12T10:02:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kahomono](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kahomono](https://forum.duplicati.com/u/Kahomono)\
**Post date:** [July 12, 2020, 10:02am UTC](https://forum.duplicati.com/t/run-script-possibly-dumb-question/10271/1 "2020-07-12T10:02:43Z")

</div>

Does the script have to be an actual .sh script? I just want to execute a touch command after backups to show that the backup is done and other things are allowed to happen now. Can I just pop a “touch …” into the slot where the script name goes?

---

<div class="post-metadata">

**Author:** ![Kahomono](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kahomono](https://forum.duplicati.com/u/Kahomono)\
**Post date:** [July 12, 2020, 12:13pm UTC](https://forum.duplicati.com/t/run-script-possibly-dumb-question/10271/2 "2020-07-12T12:13:23Z")

</div>

Well, that failed so the answer is “a real script file.” even if it’s a silly one-liner.

---

<div class="post-metadata">

**Author:** ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)\
**Post date:** [July 12, 2020, 3:48pm UTC](https://forum.duplicati.com/t/run-script-possibly-dumb-question/10271/3 "2020-07-12T15:48:23Z")

</div>

The reason it probably didn’t work is because parameters aren’t supported on the script field. If the field supported parameters properly, I don’t see why any single command wouldn’t work.

As it stands right now, you need to wrap your single command plus parameters into a batch or script file.

---

<div class="post-metadata">

**Author:** ![Kahomono](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@Kahomono](https://forum.duplicati.com/u/Kahomono)\
**Post date:** [July 14, 2020, 8:40am UTC](https://forum.duplicati.com/t/run-script-possibly-dumb-question/10271/4 "2020-07-14T08:40:12Z")

</div>

That tracks with what I experienced.

Thanks.
