Sponsored Content
Top Forums Shell Programming and Scripting Create Repositories with the *.dump filetype Post 302449561 by lynxlee on Tuesday 31st of August 2010 02:42:15 AM
Old 08-31-2010
Quote:
Originally Posted by pludi
Not tested:
Code:
for dump in *.dump
do
    repo=$( basename $dump )
    echo svnadmin create $repo
    ( echo "svnadmin load $repo < /opt/vendor/svn/backups/$dump" && echo "$(date) $repo restore done" ) &
done

If the commands echoed look ok, un-echo the svnadmin commands.
I tested the script and it doesn't omit off the *.dump.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies

2. Linux

mount filetype error

Hello, I am trying to mount an external USB drive connected to a SnapServer 410 ( a network file server running a linux OS called Guardian OS). THanks to some articles on the the web, I found that I needed to use the following command: > mount -t vfat /dev/sde /mnt/usbext ... (7 Replies)
Discussion started by: drmoque
7 Replies

3. Ubuntu

Universal Repositories for All Linux Distros

Is it possible to use Other Distro's ( i.e Debian's or Ubuntu's ) repositories in Fedora? If not then what should be done to make common repositories for all linux distros. regards, Arun Maurya (2 Replies)
Discussion started by: arun_maurya
2 Replies

4. UNIX for Dummies Questions & Answers

Where are the repositories located in SUSE SLES 10 SP2

Hi, In SUSE SLES 10 SP2 where are the software repositories located? In CENTOS they are in /etc/yum.repositories or something like that. What does SLES use? (1 Reply)
Discussion started by: mojoman
1 Replies

5. Homework & Coursework Questions

Grep for filetype starting with letter p

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Which files in /usr/bin whose names begin with “p” are python scripts? Store the numbered results in... (3 Replies)
Discussion started by: alindner
3 Replies

6. Debian

Repositories in sources.list

I'm just interested to know how your sources.list look like. I got some repositories witch give some errors and I would like to clean it up. and when I do apt-get update I get few lines showing errors like 404 , this is how my list look like: # deb cdrom:/ squeeze main # deb cdrom:/... (0 Replies)
Discussion started by: zdorian
0 Replies

7. Shell Programming and Scripting

Converting DOS filetype to UNIX

Hello folks I am working on a project that requires me to write a script that operates on a bunch of text files. When I try less file.txt I see a bunch of ^M's everywhere. Some Googling tells me that this is because the files have a DOS fileformat and found the following fixes: sed 's/^M$//'... (5 Replies)
Discussion started by: ksk
5 Replies

8. Shell Programming and Scripting

Moving multiple filetype in a single loop

Hi, I am using the below code to move *.sh files to another directory. use File::Copy qw(move); while(<C:/Users/pandeesh/Desktop/*.sh>) { move $_,"C:/Users/pandeesh/Desktop/Projects"; } My requirement is i want to move *.sh,*.txt,*.xlsx,*.doc,*.pdf and *.epub files to the specified... (2 Replies)
Discussion started by: pandeesh
2 Replies

9. What is on Your Mind?

Man Page Repositories - Added jQuery and Bootstrap

I added both jQuery and Bootstrap Javacript libs to all man page repository pages. TODO: I need to add pagination to these repos because most are very large and load to slow on a single page. For the first upgrade, I manually added one new CSS Class (repository) to the main repo tables and... (0 Replies)
Discussion started by: Neo
0 Replies

10. What is on Your Mind?

Loading Animation for Large Man Page Repositories

Should have done this 10 years ago, so better late than never: Just added a "loading" animation to the the man page repositories when they load, especially since some are very large and take many seconds to load. See for example: https://www.unix.com/man-page-opensolaris-repository.php ... (1 Reply)
Discussion started by: Neo
1 Replies
ae-repo-ci(1)															     ae-repo-ci(1)

NAME
ae-repo-ci - redundant repository checkin SYNOPSIS
ae-repo-ci -Project name -Change number -REPOsitory type [ option... ] ae-repo-ci -Help ae-repo-ci -VERSion DESCRIPTION
The ae-repo-ci command is used to redundantly commit an Aegis change set into a parallel repository. Integrate Pass Notify Command The intended use for the ae-repo-ci command is as an integrate_pass_notify_command (see aepa(1) for more information) to do a redundant checkin of a change set into a second parallel repository. For example, if you were using CVS, the project attribute would look something like this: integrate_pass_notify_command = "$bin/ae-repo-ci -repo cvs " " -p $project -c $change"; You may also need to specify the module, if the module name is not the same as the project name. Commit Messages You are able to control the commit message, by using the ae-repo-ci:commit-message attribute in the project_specific field of the project configuration file. The default is as if the following entry were present: project_specific = [ { name = "ae-repo-ci:commit-message"; value = "$version - ${change brief_description}"; } ]; All of the aesub(5) substitutions are available. OPTIONS
The following options are understood: -Change number This option may be used to specify a particular change within a project. See aegis(1) for a complete description of this option. -DIRectory path This option may be used to specify which directory is to be used. It is an error if the current user does not have appropriate permissions to create the directory path given. This must be an absolute path. Caution: If you are using an automounter do not use `pwd` to make an absolute path, it usually gives the wrong answer. -Help This option may be used to obtain more information about how to use the ae-repo-ci program. -List This option may be used to obtain a list of supported repository types. -MODule name This option may be used to specify which module is to be checked out. If not set, it defaults to the trunk project name (i.e. the project name without any branch or version numbers). -Project name This option may be used to select the project of interest. When no -Project option is specified, the AEGIS_PROJECT environment variable is consulted. If that does not exist, the user's $HOME/.aegisrc file is examined for a default project field (see aeu- conf(5) for more information). If that does not exist, when the user is only working on changes within a single project, the project name defaults to that project. Otherwise, it is an error. -REPOsitory type This option is used to specify the repository type for the checkin. Known repository types are: cvs Concurrent version System. You will need to set the CVSROOT environment variable appropriately, and the -module option will be relative to it. svn Subversion. You must specify the complete URL with the -module option. The following field in the project_specific field of the project configuration file (see aepconf(5) for more information) are relevant: svn:username If present, the --username command line option will be added to svn(1) command lines, with this value. svn:password 8n If present, the --username command line option will be added to svn(1) command lines, with this value. These options can help when you can't convince Subversion to use the correct authorization any other way. This option must be specified, there is no default. The -list option may be used to obtain an up-to-date list of supported repos- itory types. See also aegis(1) for options common to all aegis commands. All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters. All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important. For example: the arguments "-project, "-PROJ" and "-p" are all interpreted to mean the -Project option. The argument "-prj" will not be understood, because consecutive optional characters were not supplied. Options and other command line arguments may be mixed arbitrarily on the command line, after the function selectors. The GNU long option names are understood. Since all option names for ae-repo-ci are long, this means ignoring the extra leading '-'. The "--option=value" convention is also understood. EXIT STATUS
The ae-repo-ci command will exit with a status of 1 on any error. The ae-repo-ci command will only exit with a status of 0 if there are no errors. ENVIRONMENT VARIABLES
See aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's project_specific field for how to set environment variables for all commands executed by Aegis. SEE ALSO
aeca(1) how to change project attributes COPYRIGHT
ae-repo-ci version 4.24.3.D001 Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter Miller The ae-repo-ci program comes with ABSOLUTELY NO WARRANTY; for details use the 'ae-repo-ci -VERSion License' command. This is free soft- ware and you are welcome to redistribute it under certain conditions; for details use the 'ae-repo-ci -VERSion License' command. AUTHOR
Peter Miller E-Mail: millerp@canb.auug.org.au //* WWW: http://www.canb.auug.org.au/~millerp/ Reference Manual Aegis ae-repo-ci(1)
All times are GMT -4. The time now is 03:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy