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

disk/misc/SetFileSize.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Truncate or expand a file
Author:Thomas Igracki
Uploader:Thomas Igracki de
Type:disk/misc
Version:1.0
Architecture:m68k-amigaos
Date:2001-07-06
Download:disk/misc/SetFileSize.lha - View contents
Readme:disk/misc/SetFileSize.readme
Downloads:567

You can change the size of a file with this program.
This can be very handy, if you use the SmartFileSystem, and can't delete files anymore
from a partition formated with SFS (you get a "disc is full" error).

This is a known bug of the SFS (v1.84) with nearly full partitions.

You only have to change the size of any file on such a partition and voila
you can delete files from it again!

For example: SetFileSize <sfs-part:filename> 10

This command reduces the filesize of the file to 10 bytes, after that you can
delete this and any other file you want!

I have to thank here Neil Williams for the info that truncating files helps!
THANK YOU!


Contents of disk/misc/SetFileSize.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  444     765  58.0% -lh5- f28f Jul  1  2001 SetFileSize.liesmich
[generic]                 2267    4656  48.7% -lh5- 0b88 Jul  1  2001 SetFileSize.pi
[generic]                  434     762  57.0% -lh5- 4f5e Jul  1  2001 SetFileSize.readme
[generic]                 1712    2428  70.5% -lh5- 117c Jul  1  2001 SetFileSize
[generic]                 8978   15272  58.8% -lh5- e6a5 Apr 30  1997 vpi
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   13835   23883  57.9%            Jul  5  2001
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>