updating wallets scripts (expofiles copy not git)

This commit is contained in:
Philip Sargent
2021-04-24 23:16:44 +01:00
parent 2e6a9a7f50
commit c34d6b2280
5 changed files with 296 additions and 237 deletions

View File

@@ -0,0 +1,11 @@
#!/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