This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
title Make hard links from project to test project | |
echo This script will make hard links of the project files in the POUs folder to the test project folder. | |
echo Before running this script make sure you already created the neccesarry folder structure in your Plc or TwinCAT project. | |
for %%i in (.\path\to\project\POUs\*.TcPOU) do ( | |
mklink /H .\path\to\testproject\POUs\%%~nxi %%i | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shadow() { | |
mogrify -trim "$1" | |
mogrify -border 10 -bordercolor white "$1" | |
convert "$1" \( +clone -background black -shadow 40x8+0+0 \) +swap -background white -layers merge +repage "$1" | |
} |