{"id":23733796,"url":"https://github.com/candidtim/unifs","last_synced_at":"2026-02-24T05:30:17.735Z","repository":{"id":65420798,"uuid":"584917972","full_name":"candidtim/unifs","owner":"candidtim","description":"Unified FS-like CLI for S3, GCS, ADLS, HDFS, SMB, Dropbox, Google Drive, and dozens of other \"file systems\"","archived":false,"fork":false,"pushed_at":"2023-01-22T19:28:55.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T21:52:27.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/candidtim.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}},"created_at":"2023-01-03T21:14:44.000Z","updated_at":"2024-12-24T02:30:02.000Z","dependencies_parsed_at":"2023-02-12T18:01:20.593Z","dependency_job_id":null,"html_url":"https://github.com/candidtim/unifs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candidtim%2Funifs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candidtim%2Funifs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candidtim%2Funifs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/candidtim%2Funifs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/candidtim","download_url":"https://codeload.github.com/candidtim/unifs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239859562,"owners_count":19708863,"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-12-31T05:19:37.562Z","updated_at":"2026-02-24T05:30:17.665Z","avatar_url":"https://github.com/candidtim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unifs\n\nUnified FS-like CLI for S3, GCS, ADLS, HDFS, SMB, Dropbox, Google Drive, and\ndozens of other \"file systems\".\n\n    unifs conf use my-s3-bucket\n    unifs ls -l /\n    unifs mv /foo.txt /bar.txt\n    unifs download /bar.txt ~/Downloads/local.copy.txt\n\n`unifs` uses the term \"file system\" in an open sense for anything that can be\nrepresented as a set of files and directories and be manipulated with the\ncommands like `ls`, `cat`, `cp`, and `mv` for example (list is not exhaustive).\n`unifs` also allows data upload and download when working with remote back-ends\n(e.g., a cloud-based BLOB storage).\n\n`unifs` supports multiple back-ends, such as a local file system, (S)FTP,\nGoogle Drive, various blob storage such as S3, GCS, ADLS, and dozens of other\nimplementations. Use `unifs impl list` to list supported protocols, but know\nthat other protocols can be added, including any custom implementations users\nmay provide.\n\n`unifs` is different from FUSE implementations in that it doesn't mount a file\nsystem. Instead, it provides a unified CLI that uses target back-end API to\nexecute the issued commands.\n\n## Installation\n\n`unifs` is a Python package:\n\n    pip install unifs\n\nDefault `unifs` installation only supports a few basic protocols (e.g., a local\nfile system). To support other protocols you may need to install their\nimplementation packages. Because there are too many, `unifs` doesn't install\nthem for you by default, but it will tell which packages are missing if you\nattempt to use a protocol that is not supported out of the box.\n\nFor example, to add the support for the GCS:\n\n    pip install gcsfs\n\nMake sure to install the additional packages to the same (virtual) environment\nwhere `unifs` is installed.\n\nTo list known implementations and their prerequisites, use:\n\n    unifs impl list\n    unifs impl info NAME\n\nTo avoid conflicts with other Python packages, it is recommended to install\nthis application into a dedicated virtual environment. For example, you may use\n`pipx`, or create a virtual environment manually. At very least, install with a\n`--user` option (`pip install --user unifs`).\n\n## Quick start\n\nBy default, `unifs` will use the local file system and will behave much like\nissuing the similar commands directly in the shell:\n\n    unifs ls -l /\n    unifs cat /tmp/foo.txt\n    unifs mv /tmp/foo.tx /tmp/bar.txt\n    unifs --help\n\nYou need to configure `unifs` to let it know about other file systems you will\nuse.\n\n## Configuration\n\nYou may either modify the configuration file, or use `unifs conf` command to\nmanipulate it.\n\n### Using `unifs conf`\n\nGet the list of configured file systems (currently active one is highlighted):\n\n    unifs conf list\n\nSet the active file system:\n\n    unifs conf use NAME\n\n### Configuration file\n\n`unifs` configuration is stored in the default OS configuration directory. You\ncan obtain a configuration file path with:\n\n    unifs conf path\n\nAlternatively, you can pin the configuration file location with a\n`UNIFS_CONFIG_PATH` environment variable.\n\nIf you didn't change your default OS settings, most likely it will\nbe:\n\n    ~/.local/share/unifs/config.toml  # Linux\n    ~/Library/Application Support/unifs/config.toml  # MacOS\n    ~\\AppData\\Local\\unifs\\Config\\config.toml # Windows\n\nConfiguration file is a TOML file that consists of:\n\n - a single `[unifs]` section where the currently active file system is set\n - any number of `[unifs.fs.NAME]` sections that declare the file systems\n\nExample:\n\n    [unifs]\n    current = \"local\"\n\n    [unifs.fs.local]\n    protocol = \"file\"\n    auto_mkdir = false\n\nFile system configuration is a set of key-value pairs. `protocol` key is\nmandatory and is used to select the implementation, all other values are passed\nto the specific implementation. Use `unifs impl info NAME` to the list of\naccepted parameters for any protocol.\n\nFor example, for a GCS bucket:\n\n    [unifs.fs.my-gcs-bucket]\n    protocol = gcs\n    project = \"my-gcp-project\"\n    token = \"/path/to/token.json\"\n\n## Status\n\nAvailable `unifs` features are considered stable. `unifs` is being actively\ndeveloped and more features are coming.\n\n## Error reporting\n\nIf you happen to encounter an error (\"An unexpected error\" in the output),\nplease, feel free to report it on the Issues page. In this case, you may find\nthe detailed error message in the log file located in the same directory as the\napplication configuration file.\n\n## Word of caution\n\nBeware that `unifs` may change (copy, move, remove, etc.) the data in a \"file\nsystem\" (as understood above). `unifs` is only a command-line layer between the\nuser and the target \"file system\". `unifs` tries its best to prevent errors\n(e.g., uses interactive confirmations for some commands), but ultimately the\nuser is responsible for the operations performed by this program.\n\n`unifs` is designed to be used in an interactive shell, not in headless mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandidtim%2Funifs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcandidtim%2Funifs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandidtim%2Funifs/lists"}