1 2 3 4 5 6
#!/bin/sh mkdir -p plugins/.inuse echo "Enter path to plugin:" && read file cp $file plugins/.inuse/ patch -p1 $file