Saving svn log in a separate directory


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Saving svn log in a separate directory
# 1  
Old 09-15-2013
Wrench Saving svn log in a separate directory

Hi Folks,

I have a directory at /usr/local/aa and there is other directory where I have checkout the code through svn checkout command ( /opt/app/fgh) now I can apply svn log command here as shown below
PHP Code:
cd  /opt/app/fgh
svn checkout 
<url>
svn log 
shows me the log on console .
please advise from here I how can I store the log in a seprate txt file at the location /usr/local/aaSmilie

Last edited by punpun66; 09-15-2013 at 11:33 AM..
# 2  
Old 09-15-2013
Why doesn't stdout redirection work?
# 3  
Old 09-15-2013
Well could you please post the updated command that I can try that will be a great help
# 4  
Old 09-16-2013
man bash (or any other shell):
Quote:
REDIRECTION
Before a command is executed, its input and output may be redirected using a special notation interpreted by the shell. Redirection
may also be used to open and close files for the current shell execution environment. The following redirection operators may pre‐
cede or appear anywhere within a simple command or may follow a command. Redirections are processed in the order they appear, from
left to right.

Each redirection that may be preceded by a file descriptor number may instead be preceded by a word of the form {varname}. In this
case, for each redirection operator except >&- and <&-, the shell will allocate a file descriptor greater than 10 and assign it to
varname. If >&- or <&- is preceded by {varname}, the value of varname defines the file descriptor to close.

In the following descriptions, if the file descriptor number is omitted, and the first character of the redirection operator is <,
the redirection refers to the standard input (file descriptor 0). If the first character of the redirection operator is >, the re‐
direction refers to the standard output (file descriptor 1).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

SVN main directory sync

I'm quite new to SVN and having configured it based on tutorials from youtube etc, I have it setup like below: * User1 and User2 can commit and update using their own passwords, * Updates from both user1 and user2 are visible to each other * files are shared between both user1 and user2 *... (2 Replies)
Discussion started by: busyboy
2 Replies

2. Shell Programming and Scripting

awk separate files to one directory

I am trying to output all files that are made by this awk to a specific directory. awk -F '' '{f = $3 ".txt"; print > f}' input.txt Since the actual data has several hundred files I redirect the output (well tried to) to a directory. awk -F '' '{f = $3 ".txt"; close($3 ".txt")} print >... (6 Replies)
Discussion started by: cmccabe
6 Replies

3. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies

4. Shell Programming and Scripting

Get out of only Modified and Added files in svn log

How to get only modified and added files with revision,author and comments from svn log verbose ------------------------------------------------------------------------ r7351 | user01 | 2013-07-02 17:53:28 -0400 (Tue, 02 Jul 2013) | 2 lines Changed paths: D /trunk/demo/proj1/.project ... (1 Reply)
Discussion started by: iaav
1 Replies

5. Shell Programming and Scripting

Read each line and saving the line in separate files

Hi Experts, I am having a requirement like this; Input file EIM_ACCT.ifb|1001|1005 EIM_ADDR.ifb|1002|1004 EIM_ABD.ifb|1009|1007 I want to read each line of this file and pass each line,one at a time,as an argument to another script. eg; 1.read first line->store it to a file->call... (2 Replies)
Discussion started by: ashishpanchal85
2 Replies

6. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

7. Shell Programming and Scripting

Need some Help for file filteration and saving the output in other directory

Hi all........ Plss do help me.......in a big trouble... :wall::wall::wall: I have 3 directories named as :1. /home/shuchi/source 2./home/shuchi/destination 3./home/shuchi/filter now the problem is /home/shuchi/source has say 2 files with extension .txt as given below : A.txt msisdn ... (5 Replies)
Discussion started by: ektubbe
5 Replies

8. Shell Programming and Scripting

Need some Help for file filteration and saving the output in other directory using grep....plz ...

Hi all........ Plss do help me.......in a big trouble... :wall::wall::wall: I have 3 directories named as :1. /home/shuchi/source 2./home/shuchi/destination 3./home/shuchi/filter now the problem is /home/shuchi/source has say 2 files with extension .txt as given below : A.txt Code: ... (0 Replies)
Discussion started by: ektubbe
0 Replies

9. UNIX for Dummies Questions & Answers

Silly question-how i refer to the current directory when saving files

I want to save a bunch of files to a folder in my current directory. Ho do i refer to my current directory without writing all the path? (2 Replies)
Discussion started by: FelipeAd
2 Replies

10. UNIX and Linux Applications

svn diff failed (no such file or directory)

I'm on ubuntu fiesty using svn as version control and gvim as my IDE. i like to review changes to files before checking them in. at some point in my life i used " svn diff {path}/{filename} " this now returns Index: {path}/{file}... (5 Replies)
Discussion started by: manic
5 Replies
Login or Register to Ask a Question