I've a bunch of repository dumps that I need to include in my shell script to restore from the dump, but first I need to create the repositories first. How do I extract the names of the repository and removing the *.dump for use of the following line?
and I need to execute this commands
and repeat this for a few hundred repositories.
My guess is I need to use sed or awk to transform and omit the ".dump" first?
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT REDHAT
svnadmin
svnadmin(1) Subversion Command Line Tool svnadmin(1)NAME
svnadmin - Subversion repository administration tool
SYNOPSIS
svnadmin command repos-path [args]
OVERVIEW
svnadmin is a tool to perform administrative operations on a Subversion repository. A Subversion repository contains the revision history
of a directory tree. The revision history includes file changes and log messages as well as move and copy operations that were applied at
some time in the past to the tree. svnadmin operations are typically carried out by an administrator. The svn(1) tool handles operations
for normal users of the source controlled resource.
COMMANDS
create repos-path
Create a new, empty repository at repos-path. For example, a repository can be created with the command:
$ svnadmin create /var/svn
Importing a source tree into the repository created above is possible with the svn(1) command :
$ svn import file:///var/svn . new_proj
createtxn repos-path -rbase_rev
Create a new transaction based on base_rev.
dump repos-path [ -rlower-rev[:upper-rev] ] [--incremental]
Dump the contents of filesystem to stdout in a 'dumpfile' portable format, sending feedback to stderr. Dump revisions lower-rev
through upper-rev. If no revisions are given, all revision trees are dumped. If just lower-rev is given, that one revision tree is
dumped. A 'dumpfile' is used to convert between incompatible repository formats. If --incremental is passed, then the first revi-
sion dumped will be a diff against the previous revision, instead of the usual fulltext.
load repos-path
Read a 'dumpfile'-formatted stream from stdin, committing new revisions into the repository's filesystem. Send progress feedback to
stdout.
lscr repos-path path [ --copies ]
Print, one-per-line and youngest-to-eldest, the revisions in which path was modified. Use the --copies flag to allow this operation
to cross copy history while searching for revisions. (For directories, this is, for now, almost guaranteed to be uninteresting.
Also, path must exist in the HEAD of the repository.)
lstxns repos_path
Print all txn names.
recover repos_path
Run the Berkeley DB recovery procedure on a repository. WARNING: only run this when you are SURE you're the only process accessing
the repository. Requires exclusive access.
rmtxns repos-path txn-name [ ... ]
Delete the transaction(s) named txn-name.
setlog repos-path -rrev file
Set the log-message on revision rev to the contents of file. Be careful with this option. Log messages are stored as revision
properties. The history of revision properties is not saved. This command will permanently overwrite the previous log message.
SEE ALSO svn(1)svn r3206 22 Sept 2002 svnadmin(1)