loadFiles

See also: Actions

Description

Load directory and files into a page hierarchy. By default, files with mime types text/html, text/text, and text/markdown are converted to pages. All other files added as attachments. Text files are treated as wiki markup unless noConvert is specified. Markdown files are converted to html. HTML files are wrapped with a wiki style html macro. Use continue to skip over problematic files. The automatic page creation for certain mime types can be customized by specifying a comma separated list of zero or more types (text, html, markdown) on the autoPage option. Use '--option autoPage=' to prevent automatic page completely. Another example is to use '--option text,markdown' to have html files just added as attachments - this is important if you do not have the html macro installed on your instance.

Required Parameters

space, file

Optional Parameters

title, content, parent, userId, group, replace, continue, noConvert, markdown

Type

Import

Category

Pages

Output Formats

Replacement Variables

Hostingcloud,server,datacenter
Since Version

Examples

loadFiles

Related How To's

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.