Skip to content

Instantly share code, notes, and snippets.

View brucehoff's full-sized avatar

Bruce Hoff brucehoff

  • Sage Bionetworks
  • Seattle
View GitHub Profile
@brucehoff
brucehoff / copyWikis.R
Last active August 29, 2015 14:10 — forked from brian-bot/copyWikis.R
#####
## FUNCTION FOR COPYING ALL SYNAPSE WIKI CONTENT (AND SUBPAGES) FROM ONE OWNER RESOURCE TO ANOTHER
## AUTHOR: BRIAN M. BOT
#####
## ARGUMENTS:
## oldOwnerId - the Synapse ID of the resource (e.g. Project) to copy the wiki content from
## newOwnerId - the Synapse ID of the resource (e.g. Project) to copy the wiki content to
#####
## VALUE:
## Silently returns the Wiki headers from the new owner