Hello everybody,
once again I have to ask you about some help.
I have the next task:
I have a lot of SVN-directories and GIT-directories on my server. In fact I have to go to every directory and to run there the command:
For GIT:
Code:
git pull
For SVN:
Code:
svn up
So, may be I have opportunity to write a scripts that it will check all directories and if it will find directory with name .svn it will run command
svn up inside,
and it will find directory .git it will run command
git pull inside.
Of course the script should work recursively, to check all the directories
Could you please to help me with this scrip?
Thank you for a help in advence.