Skip to content

Enhancement Request: Improve CLI Base Path Handling for Unix Path Aliases on Mac #270

@emapeire

Description

@emapeire

Hello,

I recently encountered an issue with HTTrack's command line interface on a Mac while attempting to mirror a website. I specified the base path for the mirrored files using the common shorthand alias for the user directory ~/. Specifically, I entered the base path as ~/Workspace/Docs/. However, instead of interpreting this as an absolute path relative to my home directory, HTTrack treated it as a literal directory name. This led to the inadvertent creation of a hidden '~' folder within my current working directory on macOS. Consequently, I faced considerable confusion as I was unable to locate the downloaded content initially.

I propose an enhancement to HTTrack's CLI to accurately interpret and handle the ~/ alias, aligning it with typical Unix path conventions on macOS. Additionally, it should support absolute paths like /Users/username/websites/name-of-the-website. Implementing this improvement would significantly enhance the user experience for Mac users, especially those accustomed to using terminal shorthand for paths.

This refinement is essential for ensuring a seamless user experience and to prevent similar confusion for other macOS users in the future.

Thank you for considering this enhancement.

Best regards,
Emanuel Peire

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions