mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-26 17:21:55 +00:00
11 lines
316 B
Bash
11 lines
316 B
Bash
|
#!/bin/bash
|
||
|
# Make the first set of directories for the coming year
|
||
|
# run from /surveyscans/ and tell it the year, e.g.
|
||
|
# $ ./mkdirs.sh 2021
|
||
|
|
||
|
if [$1 -eq ""]; then echo -e "mkdirs [year]\nProvide a year as the argument."; exit; fi
|
||
|
for i in {100..135}; do
|
||
|
ds=${i:1:3}
|
||
|
echo mkdir $1/$1"#"$ds
|
||
|
mkdir $1/$1"#"$ds
|
||
|
done
|