Skip to content

Commit f3095f9

Browse files
committed
updated README.md
1 parent e5b4730 commit f3095f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,11 @@ Sourced from all my other [GitHub repos](https://github.com/harisekhon) to make
286286
etc.
287287
- `login.sh` - logs to major Cloud platforms if their credentials are found in the environment, CLIs such as AWS, GCP, Azure, GitHub... Docker registries: DockerHub, GHCR, ECR, GCR, GAR, ACR, Gitlab, Quay...
288288
- `clean_caches.sh` - cleans out OS package and programming language caches - useful to save space or reduce Docker image size
289+
- `delete_duplicate_files.sh` - deletes duplicate files with (N) suffixes, commonly caused by web browser downloads,
290+
in the given or current directory. Checks they're exact duplicates of a matching basename file without the (N) suffix with
291+
the exact same checksum for safety. Prompts to delete per file. To auto-accept deletions, do
292+
`yes | delete_duplicate_files.sh`. This is a fast way of cleaning up your `~/Downloads` directory and can be put your
293+
user crontab
289294
- `curl_auth.sh` - shortens `curl` command by auto-loading your OAuth2 / JWT API token or username & password from environment variables or interactive starred password prompt through a ram file descriptor to avoid placing them on the command line (which would expose your credentials in the process list or OS audit log files). Used by many other adjacent API querying scripts
290295
- `ldapsearch.sh` - shortens `ldapsearch` command by inferring switches from environment variables
291296
- `ldap_user_recurse.sh` / `ldap_group_recurse.sh` - recurse Active Directory LDAP users upwards to find all parent groups, or groups downwards to find all nested users (useful for debugging LDAP integration and group-based permissions)

0 commit comments

Comments
 (0)