mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
12 lines
175 B
Plaintext
12 lines
175 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
ALBUMNAME=$(basename $1)
|
||
|
ALBUMDIR=/tmp/imgur/$ALBUMNAME
|
||
|
|
||
|
if [ ! -d $ALBUMDIR ]; then
|
||
|
mkdir -p $ALBUMDIR
|
||
|
imgur-album-downloader $1 $ALBUMDIR
|
||
|
fi
|
||
|
|
||
|
mimeo $ALBUMDIR
|