Stavros' Scratchpad
stuff i have to remember
Thursday, February 16, 2012
Chique, our 6th and the most beautiful premium Drupal theme just released.
CHIQUE
SPICE UP YOUR ONLINE PRESENCE
WITH UNLIMITED OPTIONS.
With multiple color schemes and typographic styles, unparalleled automations and unmatched ease of use.
Read more
Thursday, February 2, 2012
Shell script - load multiple SVN .dump files at once
References
Original script
http://www.unix.com/shell-programming-scripting/143304-create-repositories-dump-filetype.html
Read part of the filename
http://www.linuxquestions.org/questions/linux-newbie-8/shell-script-to-read-part-of-filename-652549/
#!/bin/bash
for dump in *.dump
do
repo=$( basename $dump '-201210012330.svn.dump' )
echo svnadmin create $repo
( echo "svnadmin load $repo < /var/tmp/201210012330/$dump" && echo "$(date) $repo restore done" ) &
done
Wednesday, February 1, 2012
Shell script to backup all of your SVN repositoriesShell script to backup all of your SVN repositories
The
script
does very basic backup job. Here are the tasks done by this backup script:
svnrepos
- absolute path of SVN repository root (where all the svn repos are created)
bakdest
- absolute path of directory where you would like to save all SVN dumps
baktousb
- absolute path of additional folder path to copy SVN dump (could be connected USB drive)
Read the original article
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)