Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
emapeire opened this issue Jan 15, 2024 · 0 comments

Comments

@emapeire
Copy link

emapeire commented Jan 15, 2024

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

@emapeire emapeire changed the title Enhancement Request: Improve CLI Base Path Handling for User Directory Alias Enhancement Request: Improve CLI Base Path Handling for Unix Path Aliases on Mac Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant