$ mysql -u[username] -p[password] [nome_database] -B -e “select * from \`[nome_tabella]\`;” | sed ‘s/\t/”,”/g;s/^/”/;s/$/”/;s/\n//g’ > /var/www/html/cicciofile.csv
View this command to comment, vote or add to favourites
View all commands by 0disse0

by David Winterbottom (codeinthehole.com)






















0 Comments
You can be the first one to leave a comment.