Export from SVN and ZIP with date/time in filename

by alex 25. February 2009 07:59

#!/bin/bash

#Export folder from SVN

#ZIP it and add date and time to file name 

svn export https://svn.server.com/svn/ --force --username myusername --password mypassword NameOutFolder

filename= NameOutFolder$(date "+_%m_%d_%y_%k_%M")

zip -r -q $filename.zip NameOutFolder

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

General

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen