batren-cvs Mailing List for Batch file renaming tool
Brought to you by:
cstroie
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(7) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <cs...@us...> - 2007-03-12 22:07:55
|
Revision: 38
http://batren.svn.sourceforge.net/batren/?rev=38&view=rev
Author: cstroie
Date: 2007-03-12 15:07:49 -0700 (Mon, 12 Mar 2007)
Log Message:
-----------
Disclaimer added.
Modified Paths:
--------------
trunk/batren
Modified: trunk/batren
===================================================================
--- trunk/batren 2006-11-28 15:52:11 UTC (rev 37)
+++ trunk/batren 2007-03-12 22:07:49 UTC (rev 38)
@@ -1,7 +1,25 @@
#!/bin/bash
+#
+############################################################################
# batren - Batch file renaming tool
-# Costin Stroie <cs...@us...>
+# Copyright (C) 2006 Costin Stroie <cs...@us...>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+############################################################################
+#
# $Id$
+#
# Identification
PROG_NAME="${0##*/}"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Costin S. <cs...@us...> - 2006-11-28 15:52:17
|
Update of /cvsroot/batren/batren In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4399 Modified Files: Makefile Log Message: Fixed the install method. Index: Makefile =================================================================== RCS file: /cvsroot/batren/batren/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile 16 Aug 2006 10:21:28 -0000 1.2 +++ Makefile 28 Nov 2006 15:52:11 -0000 1.3 @@ -8,15 +8,14 @@ ## Targets proglist = batren man1list = batren.1 -doclist = BUGS COPYING NEWS README INSTALL TODO VERSION ChangeLog +doclist = AUTHORS COPYING NEWS README INSTALL TODO VERSION ChangeLog ## Directories prefix = /usr/local -exec_prefix = $(prefix) -bindir = $(exec_prefix)/bin -mandir = $(prefix)/man +bindir = $(DESTDIR)$(prefix)/bin +mandir = $(DESTDIR)$(prefix)/man man1dir = $(mandir)/man1 -datadir = $(prefix)/share/$(name) +datadir = $(DESTDIR)$(prefix)/share/$(name) srcdir = . ## Tools @@ -52,5 +51,5 @@ for i in $(proglist); do $(RM) -f $(bindir)/$$i; done for i in $(man1list); do $(RM) -f $(man1dir)/$$i; done -gzip: - VERSION=`cat VERSION` && cd .. && tar zcvf /tmp/$(name)-$$VERSION.tgz $(name)-$$VERSION +pack: + VERSION=`cat VERSION` && cd .. && tar zcvf /tmp/$(name)-$$VERSION.tar.gz $(name)-$$VERSION |
|
From: Costin S. <cs...@us...> - 2006-11-28 15:48:23
|
Update of /cvsroot/batren/batren In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2434 Modified Files: AUTHORS Log Message: Added Steve. Index: AUTHORS =================================================================== RCS file: /cvsroot/batren/batren/AUTHORS,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- AUTHORS 16 Aug 2006 10:18:19 -0000 1.2 +++ AUTHORS 28 Nov 2006 15:48:18 -0000 1.3 @@ -1 +1,2 @@ Costin Stroie <cs...@us...> +Stephen Doonan <xs...@us...> |
|
From: Costin S. <cs...@us...> - 2006-11-28 15:47:35
|
Update of /cvsroot/batren/batren In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2006 Modified Files: batren.1 Log Message: Added Steve in the authors section. Index: batren.1 =================================================================== RCS file: /cvsroot/batren/batren/batren.1,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- batren.1 21 Aug 2006 15:27:34 -0000 1.7 +++ batren.1 28 Nov 2006 15:47:32 -0000 1.8 @@ -4,7 +4,7 @@ .\" groff -man -Tdvi batren.1 > batren.dvi .\" groff -man -Tps batren.1 > batren.ps .\" -.TH "batren" "1" "16 Aug 2006" "BatRen" "File management" +.TH "batren" "1" "28 Nov 2006" "BatRen" "File management" .SH "NAME" batren \- Batch file renaming tool .SH "SYNOPSIS" @@ -90,6 +90,8 @@ GNU General Public License. Please see the accompanying \fICOPYING\fR file. .SH "AUTHORS" Costin Stroie <cs...@us...> +.P +Stephen Doonan <xs...@us...> .SH "SEE ALSO" BatRen website at: <http://batren.sourceforge.net/> .\" vim: set ft=groff nu nowrap: |
|
From: Costin S. <cs...@us...> - 2006-11-28 15:43:15
|
Update of /cvsroot/batren/batren In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32656 Modified Files: INSTALL Log Message: Detailed how to run from the extracted dir. Index: INSTALL =================================================================== RCS file: /cvsroot/batren/batren/INSTALL,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- INSTALL 16 Aug 2006 10:20:15 -0000 1.2 +++ INSTALL 28 Nov 2006 15:43:10 -0000 1.3 @@ -1,10 +1,37 @@ +BatRen is a shell script. You do not need to install it to run. For +a quick test, just run it from its current directory. + +First, unpack the archive (replace the version number with the correct +one) and enter the directory + +$ tar xzf batren-0.3.1.tar.gz +$ cd batren-0.3.1 + +Then run the program (assuming bash is your shell) + +$ $PATH_TO_BATREN_DIR/batren + +Please see the README file for details on BatRen usage. + + Install -------- -To perform an installation with default options, a 'make install' is enough. -If you like, parameters can be specified in the command line, like -'make install prefix=/usr/bin'. +======= + +To perform an installation with default options, run the next command as +root. + +# make install + +If you like, parameters can be specified in the command line, like this. + +# make prefix=/usr/bin install + Uninstall ---------- -Typing 'make uninstall' (with or without some parameters in the command line), -will perform the uninstall process. +========= + +To perform the uninstall process, type the next command (with or without +some parameters in the command line) as root. + +# make uninstall + |
|
From: Costin S. <cs...@us...> - 2006-11-28 15:39:55
|
Update of /cvsroot/batren/batren In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31026 Modified Files: NEWS Log Message: Version 0.3.1 Index: NEWS =================================================================== RCS file: /cvsroot/batren/batren/NEWS,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- NEWS 16 Aug 2006 11:45:24 -0000 1.3 +++ NEWS 28 Nov 2006 15:39:44 -0000 1.4 @@ -1,3 +1,7 @@ +2006-11-28 v0.3.1 +* Version 0.3.1 was released. Improved the padding adjustment and added + support for changing the extention to uppercase or lowercase. + 2006-08-16 v0.3 * Version 0.3 was released. Fixed one bug in output file renaming and added support for file moving and automatically padding adjustments. |
|
From: Costin S. <cs...@us...> - 2006-11-28 15:37:53
|
Update of /cvsroot/batren/batren In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30206 Modified Files: ChangeLog Log Message: Version 0.3.1 Index: ChangeLog =================================================================== RCS file: /cvsroot/batren/batren/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ChangeLog 21 Aug 2006 15:56:33 -0000 1.5 +++ ChangeLog 28 Nov 2006 15:37:48 -0000 1.6 @@ -1,5 +1,12 @@ BatRen - Batch file renaming tool --------------------------------- + +2006-11-28 Costin Stroie <cs...@us...> +* version 0.3.1 released + +2006-08-27 Stephen Doonan <xs...@us...> +* improved the PADDING adjustment + 2006-08-21 Costin Stroie <cs...@us...> * added support for forcing the file extension lowercase or uppercase |
|
From: Costin S. <cs...@us...> - 2006-11-28 15:31:45
|
Update of /cvsroot/batren/batren In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27775 Modified Files: batren Log Message: Steve has improved the PADDING adjustment. No loop is necessary. Index: batren =================================================================== RCS file: /cvsroot/batren/batren/batren,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- batren 21 Aug 2006 15:24:16 -0000 1.9 +++ batren 28 Nov 2006 15:31:40 -0000 1.10 @@ -81,10 +81,10 @@ # This is just an estimation, since the index can increase if more # files are found in the output directory LAST_INDEX=$(( TOTAL + FIRST_INDEX )) -while [ ${#PADDING} -lt ${#LAST_INDEX} ] -do - PADDING=${PADDING:0:1}${PADDING} -done +if [ ${#PADDING} -lt ${#LAST_INDEX} ] +then + PADDING=${LAST_INDEX//?/${PADDING:0:1}} +fi # Show current parameters if [ "${VERBOSE}" ] |
|
From: Costin S. <cs...@us...> - 2006-08-21 16:14:23
|
Update of /cvsroot/batren/batch_rename In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2339 Modified Files: VERSION Log Message: New version. Index: VERSION =================================================================== RCS file: /cvsroot/batren/batch_rename/VERSION,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- VERSION 16 Aug 2006 11:28:45 -0000 1.4 +++ VERSION 21 Aug 2006 16:14:13 -0000 1.5 @@ -1 +1 @@ -0.3 +0.3.1 |