AminetAminet
Search:
84706 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/dopus/DOpus4-SeqRename10.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:ARexx script: sequence-rename files
Author:Wizardry and Steamworks
Uploader:"Wizardry and Steamworks" <office grimore org>
Type:util/dopus
Version:1.0
Architecture:generic
Date:2015-07-07
Download:http://aminet.net/util/dopus/DOpus4-SeqRename10.lha - View contents
Readme:http://aminet.net/util/dopus/DOpus4-SeqRename10.readme
Downloads:1010

---------------------------------------------------------------------------

             Rename files sequentially in DirectoryOpus 4.x

---------------------------------------------------------------------------

-----------------------
>> About
-----------------------

This ARexx script will rename selected files sequentially in Directory Opus
4 based on an input file-name prefix and sequential pattern template whilst
retaining the original file-name extensions as they are.

In other words, it satisfies a necessity to be able to sequentially rename
files: for example, suppose that you have the following files in a window
pane:


  meinthepark.jpg
  meathome.jpg
  meupyournostrills.jpg

and that you wish to rename the files sequentially to obtain:

  Photo_01.jpg
  Photo_02.jpg
  Photo_03.jpg
   
in that case, this script will do it for you.

When the script runs from Directory Opus, it will ask you for two
parameters:
  * a file-name prefix - following the example above, you would enter
    "Photo_"
  * a rename pattern - following the example above, you would enter "01"

The sequential rename is alpha-numerical where the range 0..9 represents one
numeric rotation and a..z represents one alphabetic rotation. This is
performed with carry, such that if the rename pattern would have been
specified as "0y8", then the following sequence would be achieved:

  0y8
  0y9
  0z0
  0z1
  0z2
  0z3
  0z4
  0z5
  0z6
  0z7
  0z8
  0z9
  1a0
  1a1
  ...
  
In other words, this would allow you to rename files like:

  Photo_aaa.jpg
  Photo_aab.jpg
  Photo_aac.jpg
  ...
  
as well as mixing-in numbers and letters in the sequence.

-----------------------
>> How to install
-----------------------

  1.) Extract the archive
  2.) Place DOpus4-SeqRename.rexx wherever you see fit. (It is tidy, for
      example, to create an ARexx directory in DOPUS4: and then place your
      scripts there.)
  3.) Open DirectoryOpus4 and right-click and go to  Project->Configure
  4.) On the screen that pops-up, go to Buttons and create a new button
      somewhere where you see fit.
      4a.) Give the button a name ("SeqRename", for example) and create a
           new entry.
      4b.) Set the cycler to ARexx and click the magnifying glass to enter
           the path to the DOpus4-SeqRename.rexx script.
  5.) You do not need to set any flags.
  6.) Save and exit and you are done.


-----------------------
>> How to use
-----------------------

Select some files and press the SeqRename button. You will be prompted for a
file-name prefix and a pattern. After those parameters are supplied to the
ARexx script, the script will rename all your files sequentially.

-----------------------
>> Caveats
----------------------

  * If your files contain either the asterisk (*) character or the
forward-slash character (/), which are reserved AmigaDOS characters, the
script will fail.

-----------------------
>> Project Website
-----------------------

http://grimore.org/amiga/directoryopus/4/sequence_rename

-----------------------
>> Feedback
-----------------------

You can reach us at:

   Wizardry and Steamworks
   e-mail: office at grimore.org


Contents of util/dopus/DOpus4-SeqRename10.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  602    1233  48.8% -lh5- 34bf Jul  7 06:45 DOpus4-SeqRename10.info
[unknown]                 1385    3377  41.0% -lh5- 08df Jul  7 06:44 DOpus4-SeqRename10/DOpus4-SeqRename.readme
[unknown]                  455     886  51.4% -lh5- c149 Jul  7 06:45 DOpus4-SeqRename10/DOpus4-SeqRename.readme.info
[unknown]                 1452    4750  30.6% -lh5- d988 Jul  7 06:28 DOpus4-SeqRename10/DOpus4-SeqRename.rexx
[unknown]                  587     859  68.3% -lh5- 00e5 Jul  7 06:45 DOpus4-SeqRename10/DOpus4-SeqRename.rexx.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         5 files    4481   11105  40.4%            Jul  7 18:23

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>