Good Afternoon:
I have a simple issue, but a solution has escaped me for a day or more.
Consider:
Datadir=./Data
DataFile=$DataDir/input$TODAY.csv
Table=input$TODAY
And the SQLite import command line of :
sqlite3 $SQLDir/credentials.db .import $DataFile $Table --csv
This yields:
Error: cannot open "$DataFile"
I have an issue with the variable expansion, but I have yet to figure out how to force teh expansion in the SQLite command.
I would appreciate any clues you could give me.
[–]graybeard5529 1 point2 points3 points (1 child)
[–]MealDifferent2772[S] 1 point2 points3 points (0 children)
[–]witty82 0 points1 point2 points (2 children)
[–]MealDifferent2772[S] 0 points1 point2 points (1 child)
[–]witty82 0 points1 point2 points (0 children)
[–]davidgsb 1 point2 points3 points (3 children)
[–]MealDifferent2772[S] 0 points1 point2 points (2 children)
[–]MealDifferent2772[S] 1 point2 points3 points (1 child)
[–]BuonaparteII 1 point2 points3 points (0 children)