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

util/cli/chop.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Chop V1.0, remove unnecessary data from the end of files
Author:rsmedley at cix.co.uk (Richard Smedley)
Uploader:rsmedley cix co uk (Richard Smedley)
Type:util/cli
Architecture:m68k-amigaos
Date:1998-10-19
Download:http://aminet.net/util/cli/chop.lha - View contents
Readme:http://aminet.net/util/cli/chop.readme
Downloads:492

When downloading files or transferring them from one computer to another,
not all comms software removes the unnecessary info that is added to the
end of the file by the transfer protocol. (For example, a file which was
originally 40123 bytes might grow to 40960 bytes because of the "padding"
that is added to the end of the file).

Chop is a small CLI command which allows you to remove this unwanted data
from the end of the file, by chopping the end of the file off to reduce it
to its original size.

To use it, simply enter the following into a Shell window:

    Chop <filename> <size of file in bytes>

For example, if the file manual.txt is supposed to be 40123 bytes then you
would type the following:

    chop ram:manual.txt 40123


CONTACTING THE AUTHOR
---------------------

If you have any comments or want to contact me, here is my address:

    Richard Smedley
    PO Box 59
    Sutton-in-Ashfield
    Notts
    NG17 3HP
    England

    rsmedley at cix.co.uk


COPYRIGHT & DISTRIBUTION
------------------------

This program is freeware, but remains copyright (C) Richard Smedley 1998.

It may be freely distributed for non-commercial purposes providing all the
original files remain fully intact and unmodified.

Standard disclaimer applies; you use this program at your own risk.


VERSION HISTORY
---------------

V1.0 (10.06.98)

    - The first release.


Contents of util/cli/chop.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 7998   12944  61.8% -lh5- b46b Oct 17  1998 Chop
[generic]                  807    1556  51.9% -lh5- 65a0 Oct 17  1998 Chop.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    8805   14500  60.7%            Oct 19  1998

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