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

util/shell/SmartFiles.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Two smart scripts for handling files
Author: benchie at cup.portal.com (The BenchMaster)
Uploader:benchie cup portal com
Type:util/shell
Architecture:m68k-amigaos
Date:1995-10-02
Requires:some DOS literacy, ARexx
Download:util/shell/SmartFiles.lha - View contents
Readme:util/shell/SmartFiles.readme
Downloads:487

  Ever had a huge directory of files and wanted to do the exact same thing to
each one of them?  Did you do them all by hand, proclaiming all the while
that there MUST be a better way?!  Well, there is.

  Most people aren't into using variables with scriptfiles, but that's the
secret to having (mere) DOS do everything for you.  It's just that you need a
template to use, and that's what this is.  Just fill in the blanks with the
same commands you'd use for ONE of the files, and this reads the whole
directory then does the same routine to EVERY file, very nice.

  The second enclosed script in an ARexx file, and it does this:

  Let's say you have 500 files in a directory and a list of 250 of them that
you want to move (Rename) to a different directory.  Hmm, might take a while
by hand, eh?  Edit the enclosed ARexx file to inject a "Rename" before every
entry on the list and a destination path after each entry.  RXecute the ARexx
file and then simply Execute the outputted file.  Piece o' cake.        - TBM

  


Contents of util/shell/SmartFiles.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                   45      45 100.0% -lh0- d651 Sep  1  1995 file_id.diz
[generic]                  458     882  51.9% -lh5- 9292 Sep 29  1995 Inject.rex
[generic]                 1290    2641  48.8% -lh5- debb Sep 30  1995 ReadMe.txt
[generic]                 2267    5404  42.0% -lh5- 4702 Sep 30  1995 SmartDOS.txt
[generic]                 2476    4809  51.5% -lh5- 7dd2 Sep 30  1995 OtherStuff.tbm
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files    6536   13781  47.4%            Oct  1  1995
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>