dm v1.5.0/Style

Release Date: 
September 22, 2021
See Also: 

New features added in v1.5.0:

  • 'dm unar' is named for the well known unar tool available for multiple platforms. It can be used to unarchive several native CBM archive formats: .arc, .ark, .cvt, .lbr, .lha, .lnx, .sda, .sfx, .spy, and .wr3. The results are stored on a new disk image (a d64 or d81). Examples:
    #unarchive a Lynx file onto a new .d64
    dm unar sb146644.lnx disk.d64
    #unarchive a Wraptor file onto a new .d64
    dm grep scrapit.wr3.prg disk
  • If you don't provide an extension for the disk, unar defaults to d64 but uses a d81 if necessary.

  • dm can identify most archives so it isn't always necessary that the file have an extension.

General improvements and changes in v1.5.0:

    • Support for unicode in filenames/paths

    • Support for Windows 'long' paths.

    •  'dm grep' is now 'dm fgrep'

    'dm ls' improvements and changes in v1.5.0:

    • For listing, '-c' is no longer paired with '--color'

    • adds -r/--relative to control filepath output

    • adds -c/--color-header to only reverse-colorize the header, which is the minimal step needed to reproduce a canonical directory listing with a proper looking disk header. '--color' is still used to selectively color directory entries based on what kind of file they're recognized as.

    • --ascii-fall to set an ascii fallback character that is emitted when the character doesn't translate to 7-bit ASCII

    • the default ascii fallback character is now '`' instead of '?'

    • recognize archives in .prg files and list them directly instead of expanding the .prg to a disk first

    • updates xxhash to v0.8.0

    • add xxh3 as a column option (replaces xxh64)

    • --Xf changed to --Xfree    omit blocks free

    • --Xn changed to --Xheader  omit disk name/id

    • --Xq changed to --Xquote   omit quotes on filenames

    • adds --Xpath to omit the filepath from output

    See the main project page linked above for more documentation for this and all other dm functionality.