There is a chance to run the script by root itself.. so i coded like following
But su svn -c 'sh $thisScript' is not working correctly.
i tried all the following:
su svn -c 'sh $thisScript' --> Will go to bash$ prompt
su svn -c '$thisScript' --> Nothing will do
su - svn -c 'sh $thisScript' --> Nothing will do
su -c 'sh $thisScript' - svn --> Nothing will do
Hi,
I have a script A.run which will call B.run.
How can i run B.run with a common id instead of using my login id?
I have tried as below, in Script A.run :
.........
echo "Running B.run......"
rsh -l commonid hostname B.run
.........
but it's give me "Permission Denied".......
... (3 Replies)
I want to start off by saying thanks to everyone here, you're answers and suggestions are always very helpful.
I have a shell script which is invoked when an email is received. This shell script extracts any attachments that are sent with this email, and then runs a script which submits these... (8 Replies)
Hi all,
I'm a newbie to the Linux world.
I have a script that needs to run under "UserB". But I don't want to give out the password to UserB. Is there a way to setup the script to run as "UserB" when UserA runs it.
Thanks in advance for your assistance. (1 Reply)
Hello Experts
I want to run script from another user in unix . Also the script
has been calling from SQL. HOST command helps to call the unix file
from sql . But my problem is the unix script has to be run by
another user.
I tried tht following
$ sudo su - user2 -c who... (4 Replies)
Good morning. I am searching for "how-to"'s for some particular questions:
1. How to write a script in HP-UX 11.
2. How to schedule a script.
3. How to "call" scripts from the original script.
4. How to su to another user from within a script.
This is the basics of what the... (15 Replies)
Guy's
I have script to start the data base and this script need to be excited by Oracle user
Is there any command to be excited by root and to run this script Start_Oracal_DB.sh by Oracle user
Pls Advice …
Excessive formatting removed.
I have told you so on several occasions now and... (2 Replies)
hello all
There are files on host1 which need to sftp'd to host2 everyday. user 'yyy' has his dsa keys set up on host 1 and host 2 . If user 'yyy' executes the below query without 'su' part, then all files are transferred.
Now user 'xxx' wants to run the script and transfer the files, but he... (5 Replies)
Hi
I have a script that i would like to be run by a different user.
For example, I have a file called 'mytest.pl' created by user 'user4'
What command should i use to make sure that user 'ydanial' has ability to run 'mytest.pl' ?
Thanks (6 Replies)
I have a script ( the name is /tmp/script1) , the content is simple , just copy a file to another directory .
Now I would like every user will change to a specific user ( eg. userA ) before run this script so that the script will be run by userA , that mean I want only userA run this script , I... (2 Replies)
Hi,
I want to deploy a (perl) script, in Linux. (Red Hat 7).
Is there a way to protect the script itself from being viewed by the user, but still allow the user to run the script?
I dont want the user to be able to see the source code of the script. (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
LEARN ABOUT DEBIAN
svn-all-fast-export
SVN-ALL-FAST-EXPORT(1) General Commands Manual SVN-ALL-FAST-EXPORT(1)NAME
svn-all-fast-export - tool to convert svn repositories into git
SYNOPSIS
svn-all-fast-export [options] [Path to subversion repository]
DESCRIPTION
svn-all-fast-export is a tool to convert your svn repositories to git.
You will need to have a copy of your svn repository and to write some rules to specify how the conversion will be done, for instance, you
can manage how the tags and branches will be managed writing the appropriate rules. You have examples in /usr/share/doc/svn-all-fast-
export/samples
Path to subversion repository is a backup copy of the subversion repository. Note that an svn url will not work due to the undistributed
nature of svn.
OPTIONS --identity-map
Provide map between svn username and email. You can provide a file mapping the old svn accounts to the authors names. This file must
have a line per each svn account, you can use either the svn-all-fast-export native format:
janesvnaccountname Jane Doe <jane.doe@example.com>
or the git-svn format:
janesvnaccountname = Jane Doe <jane.doe@example.com>
--revisions-file
Provide a file with revisions numbers that should be processed. This file should have one revision number per line.
--rules
The rules file that determines what goes where. See /usr/share/doc/svn-all-fast-export/samples
--add-metadata
If passed, each git commit will have svn commit info.
--resume-from
Start importing at svn revision number.
--max-rev
Stop importing at svn revision number.
--dry-run
Don't actually write anything.
--debug-rules
Print what rule is being used for each file.
--commit-interval number
If passed the cache will be flushed to git every number of commits.
--stats
After a run, print some statistics.
--svn-branches
Use the content of SVN when creating branches, Note: SVN tags are branches as well.
-h, --help
Show summary of options.
-v, --version
Show version of program.
RETURN VALUES
This program returns 0 on success, on error something else (numbers in base 10):
10 unrecognized option or missing argument
11 no rules file specified
BUGS
All matching rules need to end with a '/', else the tool will crash at some point. The only exception are the rules using the recurse-
action.
HOMEPAGE
http://gitorious.org/svn2git
SEE ALSO
http://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git
AUTHORS
svn-all-fast-export was written by Thiago Macieira and Thomas Zander.
April 25, 2010 SVN-ALL-FAST-EXPORT(1)