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

util/cli/foreach.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:VERY useful, flexible shell-command.
Author:farindk at trick.informatik.uni-stuttgart.de (Dirk Farin)
Uploader:farindk trick informatik uni-stuttgart de (Dirk Farin)
Type:util/cli
Architecture:m68k-amigaos
Date:1995-01-08
Download:http://aminet.net/util/cli/foreach.lha - View contents
Readme:http://aminet.net/util/cli/foreach.readme
Downloads:427
Foreach
-------

Lets you perform the same command with different arguments.
For example:

 - compress all .txt files into its own archive
    foreach #?.txt lha m &< &

 - rename all .lzh files to .lha:
    foreach #?.lzh rename &<.lzh &<.lha

 - make two backups of all files
    foreach {bak1,bak2} copy #? df0:&

and much more...


Requirements:
  Workbench 2.0


I promise: you can't live without it in the future !
Have fun!


Contents of util/cli/foreach.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 6966   10948  63.6% -lh5- 139d Jul 20  1994 foreach
[generic]                 1720    4053  42.4% -lh5- 35a7 Jul 20  1994 foreach.doc
[generic]                 1923    4260  45.1% -lh5- 816d Jul 20  1994 foreach.dok
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files   10609   19261  55.1%            Jan  8  1995

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