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.
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