18 lines
596 B
Bash
Executable File
18 lines
596 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script assumes that you are running it in a sibling directory to Luke Smith's voidrice.
|
|
# I use some of his scripts and although they don't often update, they are known to.
|
|
# The output is going to include a bunch of copy errors as I'm just copying each file in this directory from his .local/bin back to here, obviously my custom scripts won't exist so they'll fail.
|
|
|
|
scripts=$(ls scripts)
|
|
crons=$(ls scripts/cron)
|
|
|
|
for script in $scripts; do
|
|
cp ../voidrice/.local/bin/$script . -v
|
|
done
|
|
|
|
|
|
for cron in $crons; do
|
|
cp ../voidrice/.local/bin/cron/$cron ./scripts/cron/ -v
|
|
done
|