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

util/cli/CopyHead.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:CopyHead - copy n bytes from source to dest - including C-source
Author:Rudolph-Riedel at t-online.de (Rudolph Riedel)
Uploader:Rudolph-Riedel t-online de (Rudolph Riedel)
Type:util/cli
Version:1.0
Architecture:m68k-amigaos
Date:2002-07-07
Download:http://aminet.net/util/cli/CopyHead.lha - View contents
Readme:http://aminet.net/util/cli/CopyHead.readme
Downloads:657

As I wasn't able to find something like this on a quick research
I wrote my own tool...

This little helper will do a binary copy of the first n bytes
from a given source-file to a given destination-file.

CopyHead Source/A,Dest/A,Length/N:

CopyHead AmigaOS3.9:Videos/Jurassic_3.avi ram:test.avi 150000


Default length is 1000.


The supplied source compiles fine on my system with either SAS-C
or VBCC without warnings and may serve as example for ReadArgs()
usage and file-copying.

The supplied binary is compiled with SAS-C.


The binary and the source are supplied as is, I hereby declare this
package to be public-domain.

I take no responsibilty for any damage that may occur by using
this programm on any system.

You are using this at your very own risk!

One warning though, dest-files are overwritten without asking!

Have a nice day - Rudolph

|\ /| 
{o O} DiskMaster II support:
( " ) http://home.t-online.de/home/rudolph-riedel
  O   Mailing-list: http://groups.yahoo.com/group/DM2-Forum


Contents of util/cli/CopyHead.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1661    2588  64.2% -lh5- 98d0 Jul  6  2002 CopyHead
[generic]                  882    2106  41.9% -lh5- d574 Jul  6  2002 CopyHead.c
[generic]                  694    1221  56.8% -lh5- 7052 Jul  6  2002 CopyHead.readme
[generic]                  134     186  72.0% -lh5- 6f38 Jul  5  2002 scoptions
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    3371    6101  55.3%            Jul  7  2002

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