Changeset 44
- Timestamp:
- Jul 23, 2008, 5:23:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
svnupload.sh
r41 r44 1 1 #!/bin/bash 2 # Save the script in ~/bin/ and set it the mode "755"3 #4 2 5 # change these two parameters to yours 6 CODE_DIR=~/workspace/sample 7 TRAC_DIR=~/workspace/trac_svn/cloud/sample/hadoop-0.16 8 9 ######################################### 10 printf "copy $CODE_DIR to $TRAC_DIR \n" 11 cp -ruf $CODE_DIR/*.java $TRAC_DIR 12 13 cd $TRAC_DIR 14 # if you want to delete any class files 15 # $> find ./ -name "*.class" |xargs rm 3 printf "copy ~/workspace/sample/ to ~/workspace/trac_svn/cloud/sample/hadoop-0.16/ \n" 4 cp -ruf /home/waue/workspace/sample/* /home/waue/workspace/trac_svn/cloud/sample/hadoop-0.16/ 5 cd /home/waue/workspace/trac_svn/cloud/sample 6 find ./ -name "*.class" |xargs rm 16 7 17 8 printf "Svn start ... \n "
Note: See TracChangeset
for help on using the changeset viewer.