Added VIM tools, and help pages to all scripts missing one

This commit is contained in:
ville rantanen
2015-04-02 12:07:42 +03:00
parent 85928b7326
commit 029e2f5ad0
15 changed files with 85 additions and 18 deletions

View File

@@ -1,10 +1,13 @@
#!/bin/bash
if [ -z "$1" ]
then
echo "use: $0 http://etc/ 01 .jpg 30 wget"
echo "length of first number as a string defines padding"
exit
fi
function helpexit() {
echo "Print or download URLs with consecutive numbers"
echo "usage example, Download files: $0 http://etc/ 01 .jpg 30 wget"
echo "usage example, Print URLS: $0 http://etc/ 001 .jpg 30 echo"
echo "length of first number as a string defines padding"
exit
}
[[ -z "$1" ]] && helpexit
[[ "$1" = "-h" ]] && helpexit
jotai="$1"
paate="$3"