{"id":22360548,"url":"https://github.com/darwinz/file-operations","last_synced_at":"2026-04-10T23:12:43.559Z","repository":{"id":101179787,"uuid":"40394304","full_name":"darwinz/file-operations","owner":"darwinz","description":"Some Bash commands to simplify certain file operations","archived":false,"fork":false,"pushed_at":"2015-08-08T06:59:58.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T19:03:46.754Z","etag":null,"topics":["bash","cli","shell"],"latest_commit_sha":null,"homepage":"","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/darwinz.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-08-08T06:50:04.000Z","updated_at":"2017-11-27T09:09:19.000Z","dependencies_parsed_at":"2023-09-18T18:45:24.915Z","dependency_job_id":null,"html_url":"https://github.com/darwinz/file-operations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darwinz/file-operations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwinz%2Ffile-operations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwinz%2Ffile-operations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwinz%2Ffile-operations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwinz%2Ffile-operations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darwinz","download_url":"https://codeload.github.com/darwinz/file-operations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darwinz%2Ffile-operations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280706833,"owners_count":26376979,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"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":["bash","cli","shell"],"created_at":"2024-12-04T16:17:24.223Z","updated_at":"2025-10-23T22:56:45.535Z","avatar_url":"https://github.com/darwinz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Some Bash commands to make certain file operations easier\n\nClone this repository, then add the following into your ~/.bashrc :  \n`source path/to/file_operations.sh` \n\nreplacing \"path/to\" with the actual file path to the file_operations.sh file\n\n1. __File Operation commands__\n   \t- `file_create` - Create a file that contains random contents with a specified size and filepath as prompted by the program\n    \t- no arguments - user is prompted for required input\n    - `encrypt $1` - Encrypt a file using a DES3 hash\n    \t- __argument $1__ Filepath of file to be encrypted\n    \t- Usage example: `encrypt file.txt`\n    - `decrypt $1` - Decrypt a file that was encrypted using a DES3 hash\n    \t- __argument $1__ Filepath of file to be decrypted\n    \t- Usage example:  `decrypt file.txt.des3`\n   \t- `srch $1 $2` - Search in a specified path for files containing text content specified while ignoring files in .svn and .idea folders\n    \t- __argument $1__ path to search\n    \t- __argument $2__ content to search for\n    \t- Usage example:  `srch . sometext`\n    - `cd $@ (override)` - Change directory and list the contents of that directory\n    \t- __argument $@__ Directory path to cd into\n    \t- Usage example: `cd somedir`\n    - `cdnl` - Change directory without listing contents of that directory\n    - `mcd $1` - Make directory with name of $1 argument inside current working directory and cd into that directory\n    \t- __argument $1__ name of directory to create\n    \t- Usage example: `mcd newdir`\n    - `trash $@` - Move file or directory to Mac OS user's trash\n    \t- __argument $@__ file or directory to move to trash\n    \t- Usage example: `trash somefile`\n    - `cdf` - Change directory to frontmost window of MacOS Finder\n    - `cdpf` - Change directory to frontmost window of MacOS PathFinder \n    - `extract $1` - Extract most known archives with one command\n    \t- __argument $1__ Filepath to archive to be extracted\n    \t- Usage example:  `extract archive.tar.gz`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwinz%2Ffile-operations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarwinz%2Ffile-operations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarwinz%2Ffile-operations/lists"}