[LUNI] Help with bash script

Stephen Boulet stephen at theboulets.net
Sat Feb 3 16:29:42 CST 2007


I'd like to write a script to backup my important linux files to my  
macintosh:

   rm -f tracks.sql mahler_backup.tar.bz2
   mysqldump --add-drop-table  -u root -p --opt tracks > tracks.sql
   tar -cpfj mahler_backup.tar.bz2 /usr/local/share/moin tracks.sql

The middle step needs for me to enter the password, and this is where  
I get stuck ...

Thanks.

Stephen


More information about the luni mailing list