{"id":21515196,"url":"https://github.com/1git2clone/recordings-mover","last_synced_at":"2025-03-17T16:16:02.073Z","repository":{"id":248291037,"uuid":"822724285","full_name":"1Git2Clone/recordings-mover","owner":"1Git2Clone","description":"A simple python CLI app which you can use to organize your saved OBS recordings and replay buffers.","archived":false,"fork":false,"pushed_at":"2025-03-14T16:22:37.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T17:28:18.385Z","etag":null,"topics":["automation-scripts","cli","file-management","obs-studio","python-script","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1Git2Clone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-07-01T17:30:47.000Z","updated_at":"2025-03-14T16:22:41.000Z","dependencies_parsed_at":"2024-07-13T18:58:02.442Z","dependency_job_id":"485e8532-189f-4b8d-99cb-b5638c225488","html_url":"https://github.com/1Git2Clone/recordings-mover","commit_stats":null,"previous_names":["1git2clone/recordings-mover"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Git2Clone%2Frecordings-mover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Git2Clone%2Frecordings-mover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Git2Clone%2Frecordings-mover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Git2Clone%2Frecordings-mover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1Git2Clone","download_url":"https://codeload.github.com/1Git2Clone/recordings-mover/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066192,"owners_count":20392407,"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":["automation-scripts","cli","file-management","obs-studio","python-script","python3"],"created_at":"2024-11-23T23:54:30.865Z","updated_at":"2025-03-17T16:16:02.066Z","avatar_url":"https://github.com/1Git2Clone.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recordings mover\n\n[![GH_Build Icon]][GH_Build Status]\u0026emsp;[![License Icon]][LICENSE]\n\n[GH_Build Icon]: https://img.shields.io/github/actions/workflow/status/1git2clone/recordings-mover/pylint.yml?branch=main\n[GH_Build Status]: https://github.com/1git2clone/recordings-mover/actions?query=branch%3Amaster\n[License Icon]: https://img.shields.io/badge/license-MIT-blue.svg\n[LICENSE]: LICENSE\n\n\u003c!-- markdownlint-disable MD033 --\u003e\n\u003cp\u003e\n  \u003cimg\n    height=\"50px\"\n    src=\"https://codeberg.org/1Kill2Steal/skill-icons/raw/branch/main/icons/Python-Dark.svg\"\n    alt=\"Python\"\n  /\u003e\n\u003c/p\u003e\n\u003c!-- markdownlint-enable MD033 --\u003e\n\n\u003c!-- markdownlint-disable MD028 --\u003e\n\n\u003e [!IMPORTANT]\n\u003e This script was mainly done for OBS-styled recordings but it can be used on\n\u003e any type of recordings which have files saved in the following format:\n\u003e `YYYY-MM`.\n\n\u003e [!NOTE]\n\u003e The `YYYY-MM` part can be **anywhere** in the file name, it doesn't\n\u003e particularly restrain the file from not having anything before and/or after\n\u003e the year and month. Think of it as running:\n\n```sh\nmv origin_dir/*YYYY-MM* repo_dir/year/month/\n```\n\n\u003c!-- markdownlint-enable MD028 --\u003e\n\nIt gets the specified year (default: current year) and makes a directory with\nit in this directory and makes directories for all months in it (or for a\nsingle specified month if you use the `--month` flag).\n\nThis is an example of how the file structure is laid out after finishing the\nusage of the script:\n\n```txt\nREPO\n├── 2025\n│   ├── 01-January\n│   ├── 02-February\n│   ├── 03-March\n│   ├── 04-April\n│   ├── 05-May\n│   ├── 06-June\n│   ├── 07-July\n│   ├── 08-August\n│   ├── 09-September\n│   ├── 10-October\n│   ├── 11-November\n│   └── 12-December\n├── .gitignore\n├── README.md\n└── move_recordings.py\n```\n\n## Setting up\n\nFirst of all, you need to configure the `RECORDINGS_ORIGIN_DIR` environment\nvariable. You can set it as a shell environment variable or change the\nhard-coded one from the top of [the source file](move_recordings.py).\n\nAfter you set the RECORDINGS_ORIGIN_DIR, you need to run the script with the\nyear and month as optional flags.\n\n\u003e [!NOTE]\n\u003e Despite the month and year flags **not** being mandatory, having your files\n\u003e following the `YYYY-MM` naming convention IS required in order for the script\n\u003e to work properly! Any months with digits less than 2 have to have a trialing\n\u003e zero behind them too. If you're using OBS then this is the default recording\n\u003e output naming convention anyway.\n\n## Usage\n\n```sh\nRECORDINGS_ORIGIN_DIR=\"/your/recordings/source/path\" python3 move_recordings.py\n```\n\nOptional: you can specify a specific year and/or month as numbers for it as well:\n\n```sh\nRECORDINGS_ORIGIN_DIR=\"/your/recordings/source/path\" \\\npython3 move_recordings.py -y=2023 -m=1 # January\n```\n\n^ The Recordings paths work with Windows directories as well. Here's a\nPowerShell example:\n\n```powershell\n$env:RECORDINGS_ORIGIN_DIR=\"D:\\Your\\Recordings\\Source\\Path\"\npython3 move_recordings.py\n```\n\n\u003e [!NOTE]\n\u003e If you're tired of setting that environment variable each time you can either\n\u003e use it in your `.profile` file or change the hard-coded alternative in the\n\u003e source code (At the top of the [move_recordings.py](./move_recordings.py)\n\u003e file).\n\nThe defaults are:\n\n- Year: current year\n\n- Month: All months\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1git2clone%2Frecordings-mover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1git2clone%2Frecordings-mover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1git2clone%2Frecordings-mover/lists"}