{"id":18878311,"url":"https://github.com/aslamosama/fast-files","last_synced_at":"2025-06-27T03:32:13.446Z","repository":{"id":197828975,"uuid":"695417938","full_name":"aslamosama/fast-files","owner":"aslamosama","description":"Create complex directory structures and files in one command","archived":false,"fork":false,"pushed_at":"2024-06-06T08:08:07.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T07:21:52.433Z","etag":null,"topics":["bash-script","eza","mkdir","shell-script","touch"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/aslamosama.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":"2023-09-23T05:47:49.000Z","updated_at":"2025-01-08T03:11:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3476622-71d9-485d-9518-824bb5fa8b72","html_url":"https://github.com/aslamosama/fast-files","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"ce8a464a5e0dd603ef122ecfbf06084d1760d815"},"previous_names":["mintycube/fast-files","aslamosama/fast-files"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamosama%2Ffast-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamosama%2Ffast-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamosama%2Ffast-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aslamosama%2Ffast-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aslamosama","download_url":"https://codeload.github.com/aslamosama/fast-files/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248936858,"owners_count":21186115,"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":["bash-script","eza","mkdir","shell-script","touch"],"created_at":"2024-11-08T06:25:51.740Z","updated_at":"2025-06-27T03:32:13.428Z","avatar_url":"https://github.com/aslamosama.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eFast Files\u003c/h1\u003e\n\u003cp\u003e\n  \u003ca href=\"#\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Fast Files is a project consisting of two bash scripts, `ff` and `ffv`, that combine the functionality of `mkdir` and `touch`, enabling you to create directory structures and files in a single command. The `ffv` script additionally prints the created objects in a tree-like structure using `eza`, `lsd` or `ls`.\n\n## Scripts\n\n- `ff`: creates the specified files and directories without printing any output.\n- `ffv`: performs the same operations as `ff` but also lists the created objects.\n\n## ✨ Features\n\n- Create single or multiple files and directories in one command.\n- Automatically create parent directories as needed.\n- Supports brace expansion for creating complex directory and file structures in one go.\n- Optionally lists the created objects with enhanced listing tools (`eza` or `lsd`) if available, or fallback to `ls` (`ffv` only).\n\n## 🛠️ Dependencies\n\n- bash\n- Optional: [eza](https://github.com/eza-community/eza) or [lsd](https://github.com/lsd-rs/lsd) for enhanced directory listing\n\n## 🏗️ Installation\n\nPlace both scripts in a directory included in your `$PATH`. Ensure the scripts are executable:\n\n```bash\nchmod +x /path/to/ff\nchmod +x /path/to/ffv\n```\n\nOr use the provided Makefile with `sudo make install`. It will install the scripts in `/usr/local/bin`.\n\n## 🚀 Usage\n\n```bash\nff [path file or folder]\nffv [path file or folder]\n```\n\n### Arguments\n\n- `--help` or `-h` : Prints usage information\n\n### Examples\n\n- Create a single file:\n  ```bash\n  ff file\n  ```\n  ```\n  ───file\n  ```\n\n- Create a single directory:\n  ```bash\n  ff dir/\n  ```\n  ```\n  ───dir\n  ```\n\n- Create multiple files:\n  ```bash\n  ff file1 file2 file3\n  ```\n  ```\n   ┌─file1\n  ─┼─file2\n   └─file3\n  ```\n\n- Create multiple directories:\n  ```bash\n  ff dir1/ dir2/ dir3/\n  ```\n  ```\n   ┌─dir1\n  ─┼─dir2\n   └─dir3\n  ```\n\n- Create a file in a directory:\n  ```bash\n  ff dir/file\n  ```\n  ```\n  ───dir───file\n  ```\n\n- Create a directory within a directory:\n  ```bash\n  ff dir1/dir2/\n  ```\n  ```\n  ───dir1───dir2\n  ```\n\n- Create multiple files in multiple directories:\n  ```bash\n  ff dir1/dir2/file1 dir3/file2\n  ```\n  ```\n   ┌─dir1───dir2───file1\n  ─┴─dir3───file2\n  ```\n\n- Use [brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html) for complex structures (supported in bash, zsh, fish):\n  ```bash\n  ff dir1/{dir2/{file1,file2}.txt,dir3/file3.txt}\n  ```\n  ```\n                 ┌─file1.txt\n  ───dir1─┬─dir2─┴─file2.txt\n          └─dir3───file3.txt\n  ```\n\n## 🔗 Related Projects\n\n[Advanced New File](https://github.com/tanrax/terminal-AdvancedNewFile)\n\n## ❤️ Show Your Support\n\nGive a ⭐️ if this project helped you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslamosama%2Ffast-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faslamosama%2Ffast-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faslamosama%2Ffast-files/lists"}