View previous topic :: View next topic |
Author |
Message |
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Thu Sep 07, 2025 9:43 pm Post subject: BBIPS - Command Line Utilities - Just released ! |
|
|
BBIPS - Command Line Utilities - Just released !
I wrote these after working on the main bbips program recently, and decided that individual functions could also be seperate programs, sometimes making it easier to chain them together to do multiple operations to image files. This is the first release, and this contains 20 seperate programs to manipulate your images files.
To install these simply open a shell and run this command:
Code: | wget "http://bbips.org/downloads/bbipsinstall.sh"; sh bbipsinstall.sh; rm -f bbipsinstall.sh |
This will do the following.
1. Create a directory if not already present "~/.bbips"
2. Download into that directory "bbips-clu.tar.gz" (http://bbips.org/downloads/bbips-clu.tar.gz)
3. Extracts everything from bbips-clu.tar.gz to "~/.bbips"
4. Removes the file bbips-clu.tar.gz (cleanup)
5. Downloads the file bbipsbashrc (overwrites it if it exists) (http://bbips.org/downloads/bbipsbashrc)
6. Checks to see if your .bashrc file has already been modified yet
7. If .bashrc hasn't been modified, sources in the bbipsbashrc file.
8. Exits
Now.... if you follow the directions, you will close this shell and open a new shell (effectively reloading your bashrc file for you). Now, from the command line, run the command "bbhelp"
#### WARNING WARNING WARNING WARNING
#
# These alias run bbips functions from the command line one at a time.
# They also change the image your working on, and do NOT make copies !
# THESE ALIAS'S RUN COMMANDS THAT CHANGE IMAGES DIRECTLEY !!!
# THIS SET OF BBIPS FUNCTIONS DOES NOT MAKE BACKUP COPIES OF YOUR IMAGES !!!
# IT IS SUGGESTED THAT YOU ONLY RUN THESE COMMANDS ON COPIES OF YOUR IMAGES AND NOT THE ORIGINALS !!
#
#### WARNING WARNING WARNING WARNING
What does this stuff do ? -- bbhelp
These commands run from the command line and edit/modify all the jpegs in a directory.
Quote: |
BBIPS command line utility help
WARNING - most bbips commands work DIRECTLEY on your images !!!
It is recommended that you work on jpg COPIES ONLY to prevent loss of originals.
bbcopy | Create a directory and COPY all images into it.
------------------
bbresize | RESIZEs all images width x height
bbrotate | ROTATEs all images clockwise x number of degrees
bbflip | FLIPs images top to bottom vertically.
bbflop | FLOPs images side to side horizontally.
bbatxt | ADDS TEXT to images.
------------------
bbborder | Creates a border on all images color x size
bbgrayscale | Converts images to Black and White
bbsepia | Converts all images to SEPIA toned x percentage
bbpaint | Simulates an oil painting on all images
bbnormalize | Normalizes all images
bbcolorize | Colorizes all images. Format rgb.
bbgamma | Gamma correct for all images
bbsolarize | Solorizes all images.
------------------
bbhelp | This lists the bbips command alias's
bbindex | Creates a index.jpg of all .jpg (not .JPG) files.
bbgzip | Creates a GZIPped file containing all the images.
------------------
bbapcom | APpend COMments to the images.
bbrecom | Displays (REads) COMments on all images.
bbwrcom | WRites COMments to all images, overwriting any existing comments.
|
If you find these useful..... let me know Feedback is always appreciated.
Crouse
http://usalug.org/phpBB2/viewtopic.html?p=84980
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Last edited by crouse on Sat Sep 16, 2025 11:03 pm; edited 1 time in total |
|
Back to top |
|
coastie Moderator Bot

Joined: 24 Apr 2025 Posts: 3064 Location: The Fox Den in the Big Easy
|
Posted: Thu Sep 07, 2025 10:16 pm Post subject: |
|
|
It won't create a new folder and put new pictures in the dir?
_________________ Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
coastie Moderator Bot

Joined: 24 Apr 2025 Posts: 3064 Location: The Fox Den in the Big Easy
|
|
Back to top |
|
coastie Moderator Bot

Joined: 24 Apr 2025 Posts: 3064 Location: The Fox Den in the Big Easy
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Wed Sep 13, 2025 2:34 am Post subject: |
|
|
https://sourceforge.net/new/
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
coastie Moderator Bot

Joined: 24 Apr 2025 Posts: 3064 Location: The Fox Den in the Big Easy
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Wed Sep 13, 2025 2:56 am Post subject: |
|
|
Nice, thanks, I finally got it on sourceforge. Just been to lazy lately lol.
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Tue Oct 10, 2025 4:20 pm Post subject: |
|
|
Updates: bbips command line utilities updated ......
Modified the following:
bbresize : Now does not use the "size" only "-resize" as needed by imagemagick.
bbsolarize: Fixed solarize function to use the ${1} input. Did not work correctly.
bbips: Added bbips.0.4.0 to the file. Now the most current bbips is included in the download. This is also aliased so it can be run by just typing "bbips" at the command line.
In the install, added line to remove entire .bbips directory if it exists.
All files
http://bbips.org/downloads/bbips-clu.tar.gz
Installer script
http://bbips.org/downloads/bbipsinstall.sh
One line installation/update:
(run this line to update/install bbips with one cut-n-paste line)
Code: | wget "http://bbips.org/downloads/bbipsinstall.sh"; sh bbipsinstall.sh; rm -f bbipsinstall.sh |
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
JoshA New Member
Joined: 24 Dec 2025 Posts: 1
|
Posted: Sun Dec 24, 2025 6:04 am Post subject: Use in Debian based distributions |
|
|
In Debian based distros, you may want to change the lines alias lines starting with 'sh' to use bash.
So for example,
Code: | alias bbapcom='sh ~/.bbips/bbapcom' |
should actually be
Code: | alias bbapcom='bash ~/.bbips/bbapcom' |
The reason for this is that debain based distros use dash for /bin/sh rather than bash. Dash is not smart enough to handle some of the more advanced features that bash can. As a result, you get weird errors saying '[[: Command Not Found' and other weird things.
--Josh
_________________ Currently Running Kubuntu
Also Use: Kanotix, Slax, Slackware
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Sun Dec 24, 2025 6:34 am Post subject: |
|
|
Debian based ????? or are we just talking the "buntu" family ? Seems like they like to stray from the norm alot.....
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
|