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

util/cli/ReSize.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:Shell tool to set file size
Author:Olivier Bedouet
Uploader:badmax club-internet fr
Type:util/cli
Version:1.0
Architecture:m68k-amigaos
Date:2000-02-15
Download:util/cli/ReSize.lha - View contents
Readme:util/cli/ReSize.readme
Downloads:463

English :
========

This a a very little tool to set file size to a given size.
Example : you got a log file of 1 MB. With resize, you can
set size to 256 kB, keeping the last 256 kB.

1.> dir
log_file    1048576
1.> resize log_file 262144
1.> dir
log_file    262144

:)

Technical infos :
    - buffer is copied into memory (so with VERY VERY big files,
    you will need the amount of memory you ask for)
    - use AmigaOS routines. Tested on OS 3.1. Will work fine on
    OS 2.x and 3.x but I don't know if it will work on OS 1.x.
    Tell me if it worked on your OS 1.x.
    - compiled with SAS/C 6.58. No warning. No enforcer hit.
    - work on FFS and PFS3.

Resize is freeware.

Français :
=========

Bon alors resize c'est un petit outil shell pour vos fichiers
de log. Exemple : vous avez un fichier log d'AmIRC. Celui-ci
fait 2 Mo. Vous n'avez pas PFS (donc pas l'outil setrollover).
Vous aimeriez bien garder, allez, les 256 derniers kilo-octets.
Ben voici ce que vous pouvez faire :

1.> resize fichier_log 262144

Et voilà. Ca suffit. Simple non ?

Informations techniques :
    - toute l'opération est stockée en mémoire. Si vous réglez
    la taille à 256 Ko, alors resize va occuper 256 Ko en
    mémoire.
    - utilise les routines standarts de la dos.library. Testé
    avec succès sur l'OS 3.1. Doit marcher sans problèmes sur
    l'OS 2.x et l'OS 3.0. Aucune idée en ce qui concerne
    l'OS 1.x. Si ça marche chez vous, contactez-moi ;-)
    - marche avec FFS et PFS3.

Resize est un logiciel libre.


Contents of util/cli/ReSize.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 8718   13492  64.6% -lh5- 40da Feb 12  2000 resize/resize
[generic]                 1438    4367  32.9% -lh5- 4b78 Feb 12  2000 resize/resize.c
[generic]                 1263    1741  72.5% -lh5- 93d2 Feb 12  2000 resize/resize.c.info
[generic]                  391     835  46.8% -lh5- 315b Feb 12  2000 resize/resize.info
[generic]                  111     178  62.4% -lh5- ca10 Feb 12  2000 resize/resize.lnk
[generic]                  941    1516  62.1% -lh5- f512 Feb 12  2000 resize/resize.o
[generic]                  910    1645  55.3% -lh5- e6ff Feb 12  2000 resize/resize.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         7 files   13772   23774  57.9%            Feb 15  2000
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>