{"id":25871824,"url":"https://github.com/felipefacundes/test_file_type","last_synced_at":"2026-06-02T21:31:42.765Z","repository":{"id":274041024,"uuid":"920804335","full_name":"felipefacundes/test_file_type","owner":"felipefacundes","description":"The test_file_type script is a versatile and multilingual utility designed to analyze and report detailed information about a given file. This tool can identify various file types, including directories, symbolic links, pipes, character/block devices, sockets, and regular files.","archived":false,"fork":false,"pushed_at":"2025-01-24T13:49:31.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T11:25:59.157Z","etag":null,"topics":["file","files","shell","shell-script","shell-scripts","shellscript","test","test-file","test-files","tests"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felipefacundes.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":"2025-01-22T19:55:58.000Z","updated_at":"2025-01-28T22:07:24.000Z","dependencies_parsed_at":"2025-01-24T14:44:47.730Z","dependency_job_id":null,"html_url":"https://github.com/felipefacundes/test_file_type","commit_stats":null,"previous_names":["felipefacundes/test_file_type"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felipefacundes/test_file_type","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Ftest_file_type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Ftest_file_type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Ftest_file_type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Ftest_file_type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipefacundes","download_url":"https://codeload.github.com/felipefacundes/test_file_type/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipefacundes%2Ftest_file_type/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33838215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["file","files","shell","shell-script","shell-scripts","shellscript","test","test-file","test-files","tests"],"created_at":"2025-03-02T07:34:08.925Z","updated_at":"2026-06-02T21:31:42.699Z","avatar_url":"https://github.com/felipefacundes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# test_file_type\n\nThe `test_file_type` script is a versatile and multilingual utility designed to analyze and report detailed information about a given file. This tool can identify various file types, including directories, symbolic links, pipes, character/block devices, sockets, and regular files. It also provides specific details for images, audio, video, PDFs, and compressed files. Additionally, this script is part of the [shell_utils](https://github.com/felipefacundes/shell_utils) framework, one of the most comprehensive collections of scripts and utilities for user facilitation.\n\n## Features\n\n- **Multilingual Support**: Messages are provided in English, Portuguese, French, and German based on system language.\n- **Detailed File Analysis**:\n  - Identifies file types such as directories, symbolic links, and pipes.\n  - Extracts metadata for media files (images, audio, video).\n  - Counts pages for PDF documents.\n  - Calculates uncompressed sizes for compressed files.\n- **Integration**: Functions seamlessly within the `shell_utils` framework, enhancing user productivity.\n\n## Installation\n\nClone the repository to get started:\n\n```bash\ngit clone https://github.com/felipefacundes/test_file_type\n```\n\nNavigate to the `test_file_type` script location:\n\n```bash\ncd test_file_type\n```\n\n## Usage\n\nRun the script by passing a file path as an argument:\n\n```bash\n./test_file_type \u003cfile_path\u003e\n```\n\n### Example\n\n```bash\n./test_file_type example.pdf\n```\n\n## Requirements\n\nSome advanced features may require the following tools to be installed:\n\n- `file`\n- `identify` (ImageMagick)\n- `ffprobe` (FFmpeg)\n- `mediainfo`\n- `pdfinfo`\n\n## Contributing\n\nContributions are welcome! Feel free to fork the repository and submit pull requests. For issues or suggestions, please use the GitHub issue tracker.\n\n---\n\nExplore more scripts and utilities in the [shell_utils](https://github.com/felipefacundes/shell_utils) framework.\n\n## License\n\nThis script is licensed under the GPLv3. See the LICENSE file in the [shell_utils repository](https://github.com/felipefacundes/shell_utils) for details.\n\n## Credits\n\nDeveloped by Felipe Facundes as part of the shell_utils framework.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipefacundes%2Ftest_file_type","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipefacundes%2Ftest_file_type","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipefacundes%2Ftest_file_type/lists"}