{"id":18974506,"url":"https://github.com/m7a/lp-ma-sitecopy","last_synced_at":"2025-07-14T03:06:08.422Z","repository":{"id":164554629,"uuid":"239021089","full_name":"m7a/lp-ma-sitecopy","owner":"m7a","description":"SiteCopy Low-Level Wrapper Scrip","archived":false,"fork":false,"pushed_at":"2024-04-28T19:54:24.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T13:17:14.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m7a.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-07T20:56:47.000Z","updated_at":"2024-04-28T19:54:27.000Z","dependencies_parsed_at":"2024-04-28T20:50:31.057Z","dependency_job_id":null,"html_url":"https://github.com/m7a/lp-ma-sitecopy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m7a/lp-ma-sitecopy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7a%2Flp-ma-sitecopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7a%2Flp-ma-sitecopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7a%2Flp-ma-sitecopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7a%2Flp-ma-sitecopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m7a","download_url":"https://codeload.github.com/m7a/lp-ma-sitecopy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m7a%2Flp-ma-sitecopy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265236713,"owners_count":23732496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T15:15:15.178Z","updated_at":"2025-07-14T03:06:08.357Z","avatar_url":"https://github.com/m7a.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\nsection: 11\nx-masysma-name: ma_sitecopy\ntitle: SiteCopy Low-Level Wrapper Script\ndate: 2020/02/07 21:43:19\nlang: en-US\nauthor: [\"Linux-Fan, Ma_Sys.ma (Ma_Sys.ma@web.de)\"]\nkeywords: [\"scripts\", \"d5man\", \"sitecopy\", \"linux\", \"ftp\"]\nx-masysma-version: 1.0.0\nx-masysma-repository: https://www.github.com/m7a/lp-ma-sitecopy\nx-masysma-website: https://masysma.net/11/ma_sitecopy.xhtml\nx-masysma-owned: 1\nx-masysma-copyright: |\n  Copyright (c) 2014, 2020 Ma_Sys.ma.\n  For further info send an e-mail to Ma_Sys.ma@web.de.\n---\nName\n====\n\n`ma_sitecopy` -- SiteCopy Low-Level Wrapper Script\n\nSynopsis\n========\n\n\tma_sitecopy -mu USER -ms SERVER -md DIR [-mr REMOTE-DIR] [-mt STATE]\n\t\t\t\t\t\t\t[-so \"K V\"] [--] [SCO]\n\nDescription\n===========\n\nThis script wraps around the `sitecopy` command in order to provide a\nconfiguration-file-less interface to said command. The script generates a\ntemporary configuration file, invokes `sitecopy` and deletes the temporary\nconfiguration afterwards.\n\nAs a low-level wrapper, it does not work around the differences of INIT and\nUPDATE operations. To allow INITs, it provides a means to add user-specified\noptions directly to the `sitecopy` invocation s. t. an INIT operation can\nbe performed.\n\nThis was originally developed as part of\n[d5man/legacy(32)](../32/d5man_legacy.xhtml) for uploading exported websites.\nIt still does this job, but for separation of concerns is not included in the\nnew [d5man2(32)](../32/d5man2.xhtml) repository.\n\n`ma_sitecopy` is intended to be part of an interactive upload workflow and thus\nasks for a password to be provided via stdin. For automation, the password can\nof course also be supplied through a pipeline.\n\nOptions\n=======\n\n----- ----------  ------------------------------------------------\n`-mu` USER        login username\n`-ms` SERVER      server address\n`-md` DIR         local source directory\n`-mr` REMOTE-DIR  remote destination directory\n`-mt` STATE       local state file\n`-so` K V         any number of site rcfile options\n`--`              marks end of options for this wrapper script\n`SCO`             any number and format of direct sitecopy-options\n----- ----------  ------------------------------------------------\n\nExamples\n========\n\n## Example for first-time invocation (INIT)\n\n\tma_sitecopy -mu masysma -ms masysma.lima-ftp.de -md \".../mawebsite5\" \\\n\t\t-mr html -mt \".../sitecopy_state.xml\" -so \"state checksum\" -- -i\n\n## Example for subsequent invocation (UPDATE)\n\n\tma_sitecopy -mu masysma -ms masysma.lima-ftp.de -md \".../mawebsite5\" \\\n\t\t-mr html -mt \".../sitecopy_state.xml\" -so \"state checksum\" -- -u\n\nSee Also\n========\n\n[sitecopy(1)](https://manpages.debian.org/buster/sitecopy/sitecopy.1.en.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm7a%2Flp-ma-sitecopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm7a%2Flp-ma-sitecopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm7a%2Flp-ma-sitecopy/lists"}