Posts Tagged ‘Linux shell scripts’
Linux shell scripts | change picture size and resolution | Belajar Linux
Linux shell scripts often use to make our life easier, but not all people understand how it works. You can find dozen shell scripts to help you run linux faster and more user friendly. If you have any interest about linux shell scripts then you are on the right place. Below is one sample Linux shell scripts than we use to canvert picture size smaller before we can upload to the Internet.
The following code is an easy to use script to convert pictures to smaller size, specially before uploading to internet.
copy this script to the photo folder and cd to the directory from console; then execute (remember to chmode -a+rx ) by ./scriptname
for x in $(ls)
do
convert -size 500 $x new-$x
done
After you copy that script all picture in that folder will decrease it’s size so you can upload that picture to the Internet easier. More about Learn Linux subject can be found within this link or you may search to entire site.
Other related articles:
- HowTo: Use Oracle / MySQL SQL Commands In UNIX Shell Scripts – HowTo: Use Oracle / MySQL SQL Commands In UNIX Shell Scripts. by Vivek Gite · 6 comments. How do I call Oracle or MySQL sql statements in UNIX / Linux shell scripts? You need to use a here document feature supported by sh / bash or ksh. …
- Date Arithmetic In Linux Shell Scripts – How to write a Linux shell scripts that backup previous month data files on monthly basis? Of course, it involves date time calculation! Unless you’re using GNU Coreutils / GNU date, doing date arithmetic in shell scripts will not be …
- 10 Tools To Add Some Spice To Your UNIX Shell Scripts – Discover various UNIX / Linux scripting tools – Add GUI widgets, network sockets and add some spice to your UNIX bash shell scripts.
- Using UNIX/Linux Shell Scripts in a Perl Environment – Using UNIX/Linux Shell Scripts in a Perl Environment. Author: Sean Blanton. 9 May. The first rule for Bash/C/Korn shell scripts in a Perl program environment is to re-write them all in Perl. If your Perl environment has any …
- Tutorial linux | Instalação do Bacula | Bacula é um programa que … – Bacula é um programa que possibilita fazer backup, restaura e verificar dados através da sua rede. Existem clientes do Bacula para Linux, Windows e Mac OSX.
