You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per design, the filename in command line argument is expected to end with a '.' (dot) character. For instance, the correct command line would be: ./par -1 /Users/ich/Downloads/test/allgames.dsk -i /Users/ich/Downloads/test/hello.bcpl hello.bcpl. -rw
Notice the extra dot at the end of hello.bcpl..
I implemented it this way because in the underlying filesystem, all filenames are stored with a dot at the end. But now that you mentioned it, maybe i should automatically append a dot after the user provided filename, to avoid confusion...
In regards to listing a complete disk, there are two options:
You can list the SysDir directory as in ./par -d SysDir. /Users/ich/Downloads/test/allgames.dsk
You can extract all files inside the disk using the scavenge command as in ./par -s /Users/ich/Downloads/test/allgames.dsk. Please note that this will extract all files to the current directory.
par tool: file inserts only have 3 chars after . Ex: hello.bcpl -> hello.bcp:
./par -1 /Users/ich/Downloads/test/allgames.dsk -i /Users/ich/Downloads/test/hello.bcpl hello.bcpl -rw
loading disk image
/Users/ich/Downloads/test/allgames.dsk
filesystem checked: 35 free pages
inserted
/Users/ich/Downloads/test/hello.bcpl
ashello.bcpl
successfullysaving disk image
/Users/ich/Downloads/test/allgames.dsk
result (listed with adar tool):
4431 1730 1 81 hello.bcp
Thx, for this excellent work!
The text was updated successfully, but these errors were encountered: