BASHing Through Scripts

Posted on Tuesday, November 27 2007 @ 8:30 CET by Thomas De Maesschalck
Today, Ken's back to bring you the next portion of his 'Nix series - creating scripts for command-line commands that help automate commands. Those of you who have used Apple's "Automator" software or have used batch-editors built into Adobe Photoshop CS will be familiar with just how extensible this can be - and it just gets more powerful when it becomes part of the OS.

Scripting in the BASH shell allows you to run literally every task that can be done, over and over, requiring only as much interaction as you add to it. The possibilities are endless, but we are going to use this article to do something that is generally useful - image resizing and watermarking. Hands down, it's one of the most annoying and mundane tasks around, particularly when you have hundreds of images to go through. Using a script turns an hours-long task into a couple minutes of automated processor cranking, saving you tonnes of time when you're doing your next mod update!

Read more at Bit Tech.


About the Author

Thomas De Maesschalck

Thomas has been messing with computer since early childhood and firmly believes the Internet is the best thing since sliced bread. Enjoys playing with new tech, is fascinated by science, and passionate about financial markets. When not behind a computer, he can be found with running shoes on or lifting heavy weights in the weight room.



Loading Comments