#!/bin/bash pushd ~/Svn_Local_Proj/Cascade/Firmware/ svn up # Synch two local SVN copies,but ingore .svn etc. rsync --delete --cvs-exclude --checksum --recursive ~/Svn_Local_Proj/Cascade/Firmware/ ~/Svn_Local_Proj_HomeTrac/Proj_FW/ pushd ~/Svn_Local_Proj_HomeTrac/Proj_FW/ svn up #Add new files to repo if there are new files svn add --force * --auto-props --parents --depth infinity svn ci -m"Auto Synch SVN copy to Trac from Lubuntu" popd popd
Wednesday, November 11, 2015
Bash to synch one particular folder from one SVN repository to another SVN repository
Labels:
Linux_Shell,
SampleCodes
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment