toys: cleanup
This commit is contained in:
parent
f56bf00916
commit
d646212f1d
@ -65,6 +65,7 @@ getConfig
|
|||||||
sanityCheck
|
sanityCheck
|
||||||
openDatabase
|
openDatabase
|
||||||
|
|
||||||
|
echo -n "Checking for missing files... "
|
||||||
echo '
|
echo '
|
||||||
SELECT
|
SELECT
|
||||||
destination_files.id,
|
destination_files.id,
|
||||||
@ -92,7 +93,6 @@ done
|
|||||||
|
|
||||||
echo 'BEGIN TRANSACTION;' >&3
|
echo 'BEGIN TRANSACTION;' >&3
|
||||||
|
|
||||||
echo -n "Checking for missing files... "
|
|
||||||
for index in "${!files[@]}"
|
for index in "${!files[@]}"
|
||||||
do
|
do
|
||||||
destination=${destination_names[index]}
|
destination=${destination_names[index]}
|
||||||
|
|||||||
@ -65,10 +65,6 @@ getConfig
|
|||||||
sanityCheck
|
sanityCheck
|
||||||
openDatabase
|
openDatabase
|
||||||
|
|
||||||
checkwanted() {
|
|
||||||
Select id <<<"filename = $1"
|
|
||||||
}
|
|
||||||
|
|
||||||
for destination in "${!destinationpath[@]}"
|
for destination in "${!destinationpath[@]}"
|
||||||
do
|
do
|
||||||
echo -ne "\rScanning destination $destination... \033[K"
|
echo -ne "\rScanning destination $destination... \033[K"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user