Added VIM tools, and help pages to all scripts missing one
This commit is contained in:
15
numberDL
15
numberDL
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user