| 84478 packages online |
|
|
| | | | No screenshot available |
|
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-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |