14

[ubuntu] Deleting lines in a file if log date is older than 1 month old

view full story
linux-howto

http://ubuntuforums.org – I currently have the following bash file, who's job is to update an SVN repository on disk, output the revision number, output the revision data (what changed, by who, revision number, date, etc), update some MySQL databases from the updated content, echo "MySQL updated" and then stop. Code: #!/bin/bash date cd /var/www/database/svn svn up svn log -r HEAD . svn log --xml --verbose -r HEAD . > /var/www/database/include/svn.xml cd sql-files/ mysql -u"user" -p"pass" database < item_db.sql mysql -u"user" -p"pass" database &l (Hardware)