{"id":22354385,"url":"https://github.com/jonmagic/bash-experiment-20151006","last_synced_at":"2025-03-26T12:40:57.176Z","repository":{"id":66375183,"uuid":"43782194","full_name":"jonmagic/bash-experiment-20151006","owner":"jonmagic","description":null,"archived":false,"fork":false,"pushed_at":"2015-10-06T22:27:00.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T13:43:47.696Z","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/jonmagic.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}},"created_at":"2015-10-06T22:20:39.000Z","updated_at":"2023-11-30T02:05:00.000Z","dependencies_parsed_at":"2023-02-21T04:45:52.501Z","dependency_job_id":null,"html_url":"https://github.com/jonmagic/bash-experiment-20151006","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/jonmagic%2Fbash-experiment-20151006","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fbash-experiment-20151006/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fbash-experiment-20151006/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmagic%2Fbash-experiment-20151006/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonmagic","download_url":"https://codeload.github.com/jonmagic/bash-experiment-20151006/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245658961,"owners_count":20651517,"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-04T13:12:44.954Z","updated_at":"2025-03-26T12:40:57.155Z","avatar_url":"https://github.com/jonmagic.png","language":"Shell","readme":"# bash experiment 20151005\n\nLoop through results from find command and extract a part of each result and then test if that path exists.\n\n```bash\n$ git clone https://github.com/jonmagic/bash-experiment-20151006\n...\n$ cd bash-experiment-20151006\n```\n\n```bash\nbash-experiment-20151006 $ tree\n.\n├── README.md\n├── cache\n│   └── data\n│       ├── a\n│       │   ├── 1\n│       │   │   └── cache\n│       │   ├── 2\n│       │   │   └── cache\n│       │   ├── 3\n│       │   │   └── cache\n│       │   └── cache\n│       ├── b\n│       │   └── 4\n│       │       └── cache\n│       └── c\n│           ├── 7\n│           └── 8\n│               └── cache\n├── data\n│   ├── a\n│   │   ├── 1\n│   │   └── 2\n│   ├── b\n│   │   ├── 4\n│   │   ├── 5\n│   │   └── 6\n│   └── c\n│       ├── 7\n│       └── 9\n└── run\n\n28 directories, 2 files\n```\n\n```bash\nbash-experiment-20151006 $ ./run\ncache dir: ./cache/data/a/1/cache\npossible associated path: ./data/a/1\nfound: ./data/a/1\n\ncache dir: ./cache/data/a/2/cache\npossible associated path: ./data/a/2\nfound: ./data/a/2\n\ncache dir: ./cache/data/a/3/cache\npossible associated path: ./data/a/3\nnot found: ./data/a/3\n\ncache dir: ./cache/data/b/4/cache\npossible associated path: ./data/b/4\nfound: ./data/b/4\n\ncache dir: ./cache/data/c/8/cache\npossible associated path: ./data/c/8\nnot found: ./data/c/8\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Fbash-experiment-20151006","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonmagic%2Fbash-experiment-20151006","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmagic%2Fbash-experiment-20151006/lists"}