home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga ACS 1997 #4
/
amigaacscoverdisc1997-041997.iso
/
w_acs_6'97
/
polware
/
polware17
/
pw17.dms
/
pw17.adf
/
Programy
/
KRenamer_v11
/
KRenamer.doc.eng
< prev
next >
Wrap
Text File
|
1995-02-08
|
5KB
|
148 lines
__________ _ _ _ _ __________
_ _ _______/ ._______ _______._______ ._______ \_______ _ _
._______ | /___.___\_____ | /___| /___. ___________.
| /______|__. / | _______ | /___ | / |__\_________ |
| /_________ |-------'----------'----------'----------'__________ |
`----------------' - - ------- pRESENTs ------- - - `-------------tF!'
KRenamer
by
Kordi/mainly of blabla.
© by Me, Myself and I.
Compilation date v1.1 : 20.04.1997
Document date : 22.04.1997
1. Copyrights.
2. Requirements.
3. What is it?
4. How to use it?
5. blahblah.
6. Greetz.
1. Copyright.
This program is Freeware or Public Domain :) There is no need to send me a
money (but if you want to, don't hesitate :) Author (i.e. ME), though,
reserves all rights to this program. All changings in program or docs
without my permission are prohibited. Spread this program with docs.
2. Requirements.
It should run on every Amiga. Program uses only system libraries. That
means blabla :-)
3. What is it?
This program changes all filenames in directory with a pattern you gave.
When you have in your dir files with strange names or sth, this prog'll help
you change it. It adds to each renamed name a number from 1-oo (i hope you
don't need to rename oo number of files ;-)
4. How to use it?
Run this program with args:
OPTIONS/S,PATH/A
There are 3 option so far:
-q - stay quiet
That makes KRenamer stay quiet while renaming filenames. It speeds whole
operation, because program doesn't waste time for writing filenames in
stdout. After that, program ask you about pattern.
-stX - where X is a first number added to filename (1 as default).
If You don't use this option, first filename will have 1 as a added number.
But if You write -st12 firs filename will contain number 12.
-s - sort all filenames before Rename().
You can sort all filenames before program renames them.
Pattern is a text string, which MUST contains %d, %dd, %ddd, %dddd, %ddddd.
This values add a number to a renamed filename. IF there are more THEN one
d, number will lead zero. Examples:
pattern - File %d - change all filenames in given directory to
File 1
File 2
etc.
pattern - File %dd from %ddd files - change all filenames in given directory
to
File 01 from 001 files
File 02 from 002 files
etc.
If -st12 option is used:
File 12 from 012 files
File 13 from 013 files
etc.
MatchFile- You can rename only those files, you want. Write here a pattern
using combination of letters and jokers (#?, *, ?).
There is only one limit. Ther can be only five digits in the pattern
(%ddddd), but this is not a big problem, is it?
5. blahblah.
BlaBla is a Polish biggest system programmers group. We make the system
friendly programms. We guarantee that our programs will run on almost every
machine (Amiga of course), including future ones. All our programs are
running in multitasking, and all of them are PD, Freeware, or Shareware.
Our organisation has a few members (we "absorb" only good programmers), an
own e-mail address and own BBS. Our newest productions you can find in our
PD library called "Polware". Our texts, articles you can also find in our
disk-mag "Izviestia" (sorry, in Polish!).
Blabla memberlist (I'97):
Apacz/Fire & BlaBla (Michaî Kopacz)
Kordi/DuckRed & BlaBla (Kordian Adamczyk)
Kysy/AM & 2xBla (Krzysztof Habowski)
LeMUr/Fire & bla² (Îukasz Prokulski)
Novi/True Genius & Phx & S2B (Krzysztof Nowak)
Reese/SubBlaBla (Karol Bryd)
Scott/Inferno & BlaBla (Marcin Ochocki)
Thufor/BlahBlah (Dariusz J.Garbowski)
Tomash/Art-B & BBla (Tomasz Korolczuk)
Warhawk/SubBlaBla (Przemysîaw Jeþ)
BlaBla group is well-known in Poland, and programs signed with "Blabla" are
for sure very good. We made many productions, we help many young
programmers, we write articles to Polish edition of Amiga Magazine, we try
to do all, for our beloved computer - Amiga!
6. Greetz.
Greetz to all my blabla friends, all people from #amigapl and #amiga IRC
channels, and all Amiga fans. Special thx to Dorota.
My snail-mail:
Kordian Adamczyk
Ul. Wl. Krola 39/43
94-039 Lodz, Poland
or e-mail
kordi@lodz2.p.lodz.pl
P.S. Sorry for my english, it could be better, I know ;-)
History.
v1.0 First version. Nothing more :)
v1.1 Some bugs fixed, added break possibility, sort and -stX options,
U can now match files You want to rename, some changes in code.
In v1.2 I'm going to add:
- suffix flip (mod.oldfield <-> oldfield.mod)
- string add to existing filename
- suffix change (*.jpeg <-> *.jpg <-> *.whatever
- perhaps - filenames change in all subdirs