How to copy > 255 files to a single prodos directory? [message #385454] |
Fri, 26 July 2019 23:28 |
bpiltz
Messages: 78 Registered: October 2012
Karma: 0
|
Member |
|
|
I've just tried out 4am's fabulous Total Replay package. My conundrum is this: I don't own a //GS, so I do not need the files in the .SHR directory. I deleted these with Copy ][ plus. And I'm trying to copy all other files on that collection to a new .HDV image to save the space that the SHR artwork "wastes", in order to achieve better ZIP compression of the resulting image. Copy ][ plus apparently can't copy the >255 files in the ACTION.HGR directory. Is there any Apple II utility than can image the files on the drive to a new blank .HDV? The //e copy utility included with ProDos 2.4.1 also fails, "Directory is too large"
I haven't tried Ciderpress, but would like to accomplish this task on an emulator. Is this some form of copy protection which 4am has implemented? I don't think so, but I had heard years ago that the directory file limit of regular ProDOS is 255 files, I guess 4am in his mad skills has circumvented that limit?
Alternatively, perhaps a version without the .SHR directory could be made available somewhere. It'll save ~2 mb on the ZIP file!
|
|
|
|
Re: How to copy > 255 files to a single prodos directory? [message #385474 is a reply to message #385454] |
Sat, 27 July 2019 14:36 |
|
Originally posted by: fadden
On Friday, July 26, 2019 at 8:28:50 PM UTC-7, bpi...@gmail.com wrote:
> I haven't tried Ciderpress, but would like to accomplish this task on an emulator. Is this some form of copy protection which 4am has implemented? I don't think so, but I had heard years ago that the directory file limit of regular ProDOS is 255 files, I guess 4am in his mad skills has circumvented that limit?
The ProDOS directory structure uses an unsigned 16-bit field to hold the directory file count. So a directory can hold more files than you can actually create on a 32MB volume. The only exception is the root volume directory, which has a fixed size.
CiderPress should do what you want.
Alternatively, delete the files and find a "block zap" utility that zeroes out all unused blocks on the disk. P8 ShrinkIt has this ("zero unused blocks"), though it only seems to let you pick floppy drives.
Try not to spend that 2MB all in one place. :-)
|
|
|