11-12-2008
foudn solution!
for ((a=1,b=2; a<=3; a++, b++));
do
svn mv HTT0$b HTTxx_$a;
done
this will do what i want .. only for the first folder i need to do it manually.
for two digit need to use it a nd b from that number..and corresponding folder names.
late response for a question..make the one who ask the question to find the answer..
thanks forum!
10 More Discussions You Might Find Interesting
1. Ubuntu
Hi All,
I am new to Forums, as i am struggling for one script i am launched here.
I need to move more than 60,000+ folders in 1,00,000 folders to another server. I have the list of folders which should be moved. can anybody help me in sharing with the script for the above requirement.
... (4 Replies)
Discussion started by: ghimakiran
4 Replies
2. Shell Programming and Scripting
I'm trying to write a script that moves data that's older than 2 weeks to a different place.
It works well, EXCEPT, that when the script hits a file within a directory inside the working directory, it will move it to the root of the destination directory instead of putting it in the correct... (1 Reply)
Discussion started by: ugolee
1 Replies
3. Shell Programming and Scripting
Hi,
I am new to shell-scripting, and doing a lot of reading. I am having some trouble getting started with a simple testing of scripting. I have been experimenting with if, loops, for, test, etc., but still unsure. I seem to have the hang of it when it comes to creating a single file or... (6 Replies)
Discussion started by: me2
6 Replies
4. Shell Programming and Scripting
I have a more than 10 K files in a folder. They are accumulated in a period of more than an year (Say from 13th July 2010 to 4th June 2011). I need to perform housekeeping on this. The requirement is to create a folder like 13Jul2010,14July2010,......3June2011,4June2010 and then from the main... (2 Replies)
Discussion started by: realspirituals
2 Replies
5. Shell Programming and Scripting
Greetings!
I'm looking for starting information for a shell script. Here's my scenario:
I have multiple folders(100) for example:
/www/test/applications/app1/logs
/www/test/applications/app2/logs
Within these folders there are log files files that need to be deleted after a month.
... (3 Replies)
Discussion started by: whysolucky
3 Replies
6. Shell Programming and Scripting
Hello!
I am new to this. I have many files from b_ap00 to b_ap80, and I need to move them to folder 00 to 80 respectively, where b_ap00 is in folder 00, b_ap01 is in folder 01.
On top of this, I need to rename the file once they are inside the folder to b_ot, and subsequently run it (ifort -o... (8 Replies)
Discussion started by: krustytherusty
8 Replies
7. Shell Programming and Scripting
Hello all,
I would appreciate any help to write a script. I have folder A which contains over 30 thousands xml files, I would like create multiple folders and move those files (500 in each folders).
Thank you (1 Reply)
Discussion started by: mmsiddig
1 Replies
8. Shell Programming and Scripting
Hello, I'm new to this forum. Did a search but I didn't quite find what I was looking for. This is probably a fairly easy request but I'm just not sure how to accomplish this.
I have a folder structure that looks something like this:/names/company1/archive
/names/company1/newarchive
... (4 Replies)
Discussion started by: vipertech
4 Replies
9. Shell Programming and Scripting
Hi All,
Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created.
/Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt
/Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
6 Replies
10. Shell Programming and Scripting
I recently bought Synology server and realised it can run scripts. I would need fairly simple script which moves all files and folders from ARCHIVE folder to WORKING folder. I would also need to maintain folder structure as each of the folders may contain subfolders. How would I go about it as I am... (1 Reply)
Discussion started by: ###
1 Replies
LEARN ABOUT DEBIAN
svnwrap
SVNWRAP(1) General Commands Manual SVNWRAP(1)
NAME
svnwrap - Umask wrapper for subversion client commands
SYNOPSIS
svnwrap {program} [args...]
DESCRIPTION
svnwrap is a simple shell script to work around permission problems when sharing Subversion repositories between multiple local users.
svnwrap can be used either by specifying a particular subversion client command on the command line, or by invoking it by the same name as
the desired client command, via a symlink.
svnwrap sets the umask to 002, then launches the appropriate subversion client command. For complicated reasons, this is needed when using
the clients with BDB-format repositories, but not for FSFS-format ones.
EXAMPLES
To create a new BDB-format shared repository (note that FSFS-format shared repositories should also be created this way):
svnwrap svnadmin create --fs-type=bdb /path/to/repo
chgrp -R shared_group /path/to/repo
The following line in /etc/inetd.conf can be used to serve svn:// URLs:
svn stream tcp nowait my_svn_user /usr/bin/svnwrap svnserve svnserve -i -r /srv/svn
The following commands enable use of svnwrap for local file:/// and remote svn+ssh:// URLs:
ln -s /usr/bin/svnwrap /usr/local/bin/svn
ln -s /usr/bin/svnwrap /usr/local/bin/svnserve
svn is used for local file:/// URLs, and svnserve is invoked by remote users of svn+ssh:// URLs.
BUGS
If you symlink the svn binary to svnwrap, as shown in one of the examples, all local users' working copies will also use the new umask. Be
sure to warn your users about this, as security-related surprises are rarely pleasant.
SEE ALSO
svnserve(8), svn(1), svnlook(1).
AUTHOR
svnwrap and this manual were written by Peter Samuelson for the Debian Project (but may be used by others).
2006-04-21 SVNWRAP(1)