{"id":16778725,"url":"https://github.com/ritvik19/shell-scripts","last_synced_at":"2025-03-16T19:41:27.802Z","repository":{"id":104587593,"uuid":"244005625","full_name":"Ritvik19/Shell-Scripts","owner":"Ritvik19","description":"Shell Scripts for data processing","archived":false,"fork":false,"pushed_at":"2020-03-25T07:25:49.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T06:14:50.062Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/Ritvik19.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-29T16:50:48.000Z","updated_at":"2020-03-25T07:25:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b9309bd-6915-4b38-9f2c-201065e745cf","html_url":"https://github.com/Ritvik19/Shell-Scripts","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/Ritvik19%2FShell-Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ritvik19%2FShell-Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ritvik19%2FShell-Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ritvik19%2FShell-Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ritvik19","download_url":"https://codeload.github.com/Ritvik19/Shell-Scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243922269,"owners_count":20369374,"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-10-13T07:28:31.781Z","updated_at":"2025-03-16T19:41:27.777Z","avatar_url":"https://github.com/Ritvik19.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell-Scripts\r\nShell Scripts for data processing\r\n\r\n* `columns` : prints header of all columns\r\n    * `-f` [file path]\r\n* `duplicates` : prints duplicate rows and number of times they are repeated\r\n    * `-f` [file path]\r\n* `filter-rows` : prints all the rows having the given value\r\n  *  `-f` [file path]\r\n  *  `-v` [value to filter]\r\n  *  `-i` [insentivite string matching]\r\n  *  `-r` [invert query]\r\n* `head` : prints first n rows\r\n    * `-f` [file path]\r\n    * `-r` [number of rows]    \r\n* `max-col` : prints max value of a column\r\n    * `-c` [column number]\r\n    * `-f` [file path]\r\n* `min-col` : prints min value of a column\r\n    * `-c` [column number]\r\n    * `-f` [file path]\r\n* `n-most-common` : prints most common 'n' values from a column\r\n    * `-c` [column number]\r\n    * `-f` [file path]\r\n    * `-n` [number of values]\r\n* `remove-duplicates`: removes duplicate lines from the csv file and saves it\r\n  * `-s` [source file path]\r\n  * `-d` [destination file path]\r\n* `replace`: replace some values from the csv file and saves it\r\n  * `-s` [source file path]\r\n  * `-d` [destination file path]\r\n  * `-f` [find value]\r\n  * `-r` [replace value]\r\n* `tail` : prints last n rows\r\n    * `-f` [file path]\r\n    * `-r` [number of rows]\r\n* `unique` : prints unique values of a column\r\n    * `-c` [column number]\r\n    * `-f` [file path]\r\n* `value-counts` : prints value counts of a column\r\n    * `-c` [column number]\r\n    * `-f` [file path]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fritvik19%2Fshell-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fritvik19%2Fshell-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fritvik19%2Fshell-scripts/lists"}