--- title: "osf-up" output: html_document date: "2025-05-07" --- ```{r} install.packages("osfr") library(osfr) ``` ```{r} library(osfr) # Authenticate with your personal access token osf_auth(token = "zTGOosOLSXVD8lsa0dgBP1V1DZseJ3LulUeOiHqpNyIjf7ZSuL8eNGagiLnjGFcVo6L004") # Find the OSF project by ID proj <- osf_retrieve_node("e8t56") # List of files to upload files_to_upload <- Sys.glob("home/shared/16TB_HDD_01/sr320/github/pgc-edc-oyster/oyster_scRNASeq_jobs_genomic_resources_outs/*txt") # Upload the files osf_upload(proj, files_to_upload) ```