Posts Tagged bash

symfony & svn & Linux/Unix

I know lots of people use symfony in Linux or Unix operating system as we all know right now there isn’t any free program to use like tortoise in windows.

Yesterday I finally found a good solution.

This bash script simply search through all the files that are not under version control and it simply ignores the files under cache, log and config folder.

I hope it helps you out.
(make a file with sh extension the chmod it to 755 and put it in the parents folder to avoid adding it to the version control)

svn st | grep “^\?” | grep -v config | grep -v cache | awk “{print \$2}” | xargs svn add $1


, , , , , , ,