Skip to content

Specifying output directory #153

@rickcecil

Description

@rickcecil

Feature description

Describe the feature you're proposing.
AFAICT, the -o option only works with a relative path AND with a filename specified. It would be great if

  1. I could use absolute paths so that my scripts are less fragile.

  2. If I only specified a directory, it would use the title of the page as the title of the doc in the same manner that it does now if you do not use the -o option.

Existing workarounds

Is there any way to obtain the desired effect with the current functionality?
With a bash script, I could wget the web page and then use pup to put the title into a variable that could be used in percollate as the filename. (There's more to it than that as I would also want to clean the title to make sure there are no illegal characters and make sure it did not exceed the character count limit.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureNew feature or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions