{"id":15969674,"url":"https://github.com/benapetr/smv","last_synced_at":"2025-07-06T15:38:03.038Z","repository":{"id":145672566,"uuid":"68819476","full_name":"benapetr/smv","owner":"benapetr","description":"Smart move for linux that allows to move whole directory hierarchy","archived":false,"fork":false,"pushed_at":"2016-09-22T08:17:26.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T11:43:02.362Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/benapetr.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}},"created_at":"2016-09-21T13:27:16.000Z","updated_at":"2021-10-01T12:23:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd98ec12-3475-480f-a108-5c4c2fd636a8","html_url":"https://github.com/benapetr/smv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benapetr/smv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fsmv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fsmv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fsmv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fsmv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benapetr","download_url":"https://codeload.github.com/benapetr/smv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benapetr%2Fsmv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263926475,"owners_count":23531092,"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-10-07T19:41:01.621Z","updated_at":"2025-07-06T15:38:02.998Z","avatar_url":"https://github.com/benapetr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"smv\n==========\n\nSmart move utility for linux OS allows you to move (similar to mv) whole directory\ninfrastructure, basically a workaround utility that allows you to solve issues\nlike this one:\nhttp://unix.stackexchange.com/questions/59112/preserve-directory-structure-when-moving-files-using-find\n\n## Example use:\n```\n# This example assumes that smv is installed in some folder that is in your $PATH variable\n# Move files older than 10 days while preserving hierarchy\n# -vf = verbose + force (doesn't stop on errors)\nsmv -vf `find some_folder -type f -mtime \"-10\"` target_folder\n\n# You can additionally run it in dry mode so that it doesn't do anything but print what it would do\nsmv -rvf `find some_folder -type f -mtime \"-10\"` target_folder\n\n# Or in case that list of files is too long to fit into argument line and you don't mind\n# executing python for every single file, then\nfind \"$soure\" -type f -mtime \"-2\" -exec smv {} \"$destination\" \\;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenapetr%2Fsmv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenapetr%2Fsmv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenapetr%2Fsmv/lists"}