From 26cc3d7cce2df76dd1f88632dc559e7dcc670d1f Mon Sep 17 00:00:00 2001 From: ThatLinuxFan <9904667+NodeMixaholic@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:09:20 -0600 Subject: [PATCH] Add files via upload --- LICENSE | 2 +- install-depends.sh | 1 + keywords2images.sh | 6 ++++-- script-keywords.txt | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 install-depends.sh create mode 100644 script-keywords.txt diff --git a/LICENSE b/LICENSE index 4c32acd..fe0a2e4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Samuel Lord +Copyright (c) 2023 Samuel Lord Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/install-depends.sh b/install-depends.sh new file mode 100644 index 0000000..cf01307 --- /dev/null +++ b/install-depends.sh @@ -0,0 +1 @@ +sudo apt install ffmpeg wget curl bc diff --git a/keywords2images.sh b/keywords2images.sh index da7064a..6900453 100644 --- a/keywords2images.sh +++ b/keywords2images.sh @@ -8,7 +8,9 @@ cd img/ # Find and delete images not divisible by 2 find . -type f -exec bash -c 'if [ $(identify -format "%h" "{}")%2 -ne 0 ]; then rm "{}"; fi' \; + +# Find files with 0 size +find . -type f -size 0 -delete + # Return to the original directory (optional) cd .. - -find img -type f -size 0 -delete diff --git a/script-keywords.txt b/script-keywords.txt new file mode 100644 index 0000000..b7ed64d --- /dev/null +++ b/script-keywords.txt @@ -0,0 +1,33 @@ +there, + +off, + +let's + +did + +let's + +conclusion, +enthusiasts! + +talk + +into + +mention + +into + +enthusiasts, +wondered + +speed. + +Chromebooks + +Chromebooks + +Chromebooks + +aren't