You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gilbert Chen edited this page Mar 7, 2020
·
4 revisions
You can instruct Duplicacy to run a script before or after executing a command.
For example, if you create a bash script with the name pre-prune under the .duplicacy/scripts directory, this bash script will be run before the prune command starts. A script named post-prune will be run after the prune command finishes.
This rule applies to all commands except init.
On Windows these scripts should have the .bat extension in their names, while on linux they should have no extension.