1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

Add senddir

This commit is contained in:
Starbeamrainbowlabs 2017-01-15 08:58:47 +00:00
parent 57ba077b2b
commit c48949ce84
3 changed files with 5 additions and 1 deletions

View file

@ -1,8 +1,9 @@
dd if=/dev/zero status=progress bs=1M count=1024 | gzip -9 >bomb.gz
rsync -av --delete JBS\ SCH/ JBS\ Backup/
inotifywait --event CLOSE_WRITE --monitor Wikitle.css | xargs -I {} csstidy Wikitle.css Wikitle.min.css --template=highest
duplicity --encrypt-key 001E1725 --exclude /proc --exclude /sys --exclude /tmp --exclude /dev --exclude /mnt --exclude /var/cache --exclude /var/tmp --exclude /var/backups --exclude /srv/www-mail/rainloop/v / file:///mnt/hubic/default/ServerBackups/
letsencrypt certonly --webroot -w /srv/letsencrypt -d im.starbeamrainbowlabs.com -d starbeamrainbowlabs.com
sudo apt update && sudo apt full-upgrade
inotifywait --event CLOSE_WRITE --monitor Wikitle.css | xargs -I {} csstidy Wikitle.css Wikitle.min.css --template=highest
gifsicle -O3 -o /tmp/anim.o.gif /tmp/anim.gif
find . -name "*.png" | xargs -I '{}' -P 4 mogrify -format gif '{}'
gifsicle --loopcount=0 --delay 150 -o /tmp/anim.gif *.gif

View file

@ -41,6 +41,7 @@ Here's a list of the most interesting ones, along with what they do and where th
- [git ignore](https://gitignore.io/) - A really useful subcommand for git that allows you to generate ignore files automagically.
- organise-photos - A small bash script I wrote that organises the photos in a directory by year & month.
- [ogg-cover-art](https://github.com/acabal/scripts/blob/master/ogg-cover-art) - A script that adds cover art to ogg files.
- senddir - A small script I wrote to send whole directories over the network as a temporary thing. Uses netcat + gzip + tar.
## Disclaimer
I don't own many of the tools in this repository. If you are an owner of one of these tools and I haven't linked to you, please let me know as I probably forgot.

2
backup
View file

@ -5,6 +5,8 @@ then
echo Error: Not settings file specified!
echo Settings files are located in ~/.config/backups.
echo To use one, simply specify it\'s name. e.g. \'backup riftgate\' would use the \'~/.config/riftgate.config\' backup configuration file.
echo Backup configuration files detected:
ls ~/.config/backups
exit
fi