This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
linux:scripts:mysqlautowrite [2017/10/02 15:13] – Discussion status changed lunetikk | linux:scripts:mysqlautowrite [2017/11/29 16:57] – lunetikk | ||
---|---|---|---|
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 | ||