This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:scripts:mysqlautowrite [2014/06/05 15:32] – created lunetikk | linux:scripts:mysqlautowrite [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This script can be used to write the content of textfiles splittet into a database. The script will look automatically for 1 .txt file, reads it, write in database, deletes the file and looks for another one. A logfile will be written. | This script can be used to write the content of textfiles splittet into a database. The script will look automatically for 1 .txt file, reads it, write in database, deletes the file and looks for another one. A logfile will be written. | ||
| - | < | + | < |
| #!/bin/bash | #!/bin/bash | ||
| Line 98: | Line 98: | ||
| done | done | ||
| </ | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | ~~DISCUSSION: | ||