(3 intermediate revisions by one other user not shown)
Line 15: Line 15:
 
; force-rebuild-files
 
; force-rebuild-files
 
: Used with rebuild-files. This forces rebuild-files without prompting for user interaction
 
: Used with rebuild-files. This forces rebuild-files without prompting for user interaction
 +
; skip-if-page-is-changed-in-wiki
 +
: Will not overwrite a page in the wiki if this page has a different edit user.
  
 
=== ShareFile import options ===
 
=== ShareFile import options ===
ws-class-props
Line 1: Line 1:
 
{{Doc properties
 
{{Doc properties
|Subject version=2.0,2.1
+
|Subject version=2.0,2.1,2.5,2.6
 
|Doc subject=DevOps:Doc/PageSync
 
|Doc subject=DevOps:Doc/PageSync
 
|Doc parent=DevOps:Doc/PageSync/1.5/Using PageSync
 
|Doc parent=DevOps:Doc/PageSync/1.5/Using PageSync
 
|Doc sort order=50
 
|Doc sort order=50
|Doc target group=User
+
|Doc target group=Administrator
 
|Doc synopsis=How to use the PageSync Maintenance script
 
|Doc synopsis=How to use the PageSync Maintenance script
 
}}
 
}}

Latest revision as of 11:04, 2 October 2024

PageSync also comes with a maintenance script, in order to import previous exported pages.

Options

summary
Additional text that will be added to the files imported History.
user
Your username. Will be added to the import log. [mandatory]
rebuild-index
Rebuild the index file from existing files in export folder
force-rebuild-index
Used with 'rebuild-index' to suppress confirmation
rebuild-files
Will take the index file and re-create all files from the database
force-rebuild-files
Used with rebuild-files. This forces rebuild-files without prompting for user interaction
skip-if-page-is-changed-in-wiki
Will not overwrite a page in the wiki if this page has a different edit user.

ShareFile import options

install-shared-file
Url or path on the server to a PageSync share file
install-shared-file-from-temp
Name of the PageSync Share file already in the PageSync TempPath
silent
Will show no output in the terminal until it is finished.