10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Below is my script code.which shows the environment name and then fetch the file from the ftp server but I am facing one issue.The script should be run in both way.We can pass the arguments with script and select the environment name then file name.Here the issue is I am not able to list the files... (1 Reply)
Discussion started by: anuragpgtgerman
1 Replies
2. UNIX for Dummies Questions & Answers
Hi Fellows,
I was wondering how I can remove first few characters from multiple file names without do loop in unix?
e.g.
water123.xyz
water456.xyz
to
123.xyz
456.xyz
Thanks
Paul
Thanks. (3 Replies)
Discussion started by: Paul Moghadam
3 Replies
3. UNIX for Dummies Questions & Answers
I found a closed thread that helped quite a bit. I tried adding the URL, but I can't because I don't have enough points... ?
Modifying the syntax to remove ! ~
find . -type f -name '*~\!]*' |
while IFS= read -r; do
mv -- "$REPLY" "${REPLY//~\!]}";
done
These messages are... (2 Replies)
Discussion started by: rabidphilbrick
2 Replies
4. Tips and Tutorials
One of the common questions asked are: how do i remove/move/rename files with special (non-printable) characters in their name?
"Special" doesn't always mean the same. As there are more and less special characters, some solutions are presented, ranging from simple to very complicated. Usually a... (0 Replies)
Discussion started by: bakunin
0 Replies
5. Shell Programming and Scripting
Hi, I have a series of files (upwards of 500) the filename format is as follows
CC10-1234P1999.WGS84.p190
each of this files is in a directory named for the file but excluding the extension.
Now the last three numeric characters, in this case 999, can be anything from 001 to 999, I need to... (3 Replies)
Discussion started by: roche.j.mike
3 Replies
6. UNIX for Dummies Questions & Answers
Hey all,
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies
7. Red Hat
Any one tell me about the list of Redhat Linux Enterprise 5 SERVERS and their functions. thanks (3 Replies)
Discussion started by: salman103
3 Replies
8. UNIX for Dummies Questions & Answers
This is what I have to do:
Display the full file name (including the full path) and file size of all files whose name (excluding the path) is exactly 3 characters long.
This is the code I have:
find / -printf "Name: %f Path: %h Size: %s (bytes)\n" 2>/dev/null | grep -E "Name: .{3,} Path" |... (7 Replies)
Discussion started by: Joesgrrrl
7 Replies
9. Shell Programming and Scripting
Hi.
I have files in my OS that has weird file names with not-conventional ascii characters.
I would like to run them but I can't refer them.
I know the ascii # of the problematic characters.
I can't change their name since it belongs to a 3rd party program... but I want to run it.
is there... (2 Replies)
Discussion started by: yamsin789
2 Replies
10. Shell Programming and Scripting
Hi,
I have searched the forum on how to mass replace the file names. We are doing the migration and I am trying to accomplish a task where I have to replace all UNIX scripts in a particular directory that start with bdw to fdm...
For example: bdw0110137.sh should be fdm0110137.sh
Keep the... (4 Replies)
Discussion started by: madhunk
4 Replies
ImageMagick(1) General Commands Manual ImageMagick(1)
NAME
ImageMagick - is a free software suite for the creation, modification and display of bitmap images.
SYNOPSIS
convert input-file [options] output-file
OVERVIEW
ImageMagick(R), is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of for-
mats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate,
scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and
B['e]zier curves.
ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and
distribute. Its license is compatible with the GPL. It runs on all major operating systems.
The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your
favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java),
L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick
(Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically.
ImageMagick includes a number of command-line utilities for manipulating images. Most of you are probably accustom to editing images one at
a time with a graphical user interface (GUI) with such programs as gimp or Photoshop. However, a GUI is not always convenient. Suppose you
want to process an image dynamically from a web script or you want to apply the same operations to many images or repeat a specific opera-
tion at different times to the same or different image. For these types of operations, the command-line image processing utility is appro-
priate.
In the paragraphs below, find a short description for each command-line tool.Cl ick on the program name to get details on the program usage
and a list of comman d-line options that alters how the program performs. If you are just getting acq uainted with ImageMagick, start at
the top of the list, the convert program, and
work your way down. Also be sure to peruse Anthony Thyssen's tutorial on how to
use ImageMagick utilities to convert, compose, or edit images from the command- line.
convert
convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much
more.
identify
describes the format and characteristics of one or more image files.
mogrify
resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image
file, whereas, convert writes to a different image file.
composite
overlaps one image over another.
montage
create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a
border, frame, image name, and more.
compare
mathematically and visually annotate the difference between an image and its reconstruction..
stream
is a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats.
It writes the pixel components as they are read from the input image a row at a time making stream desirable when working with large
images or when you require raw pixel components.
display
displays an image or image sequence on any X server.
animate
animates an image sequence on any X server.
import
saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any
rectangular portion of the screen.
conjure
interprets and executes scripts written in the Magick Scripting Language (MSL).
For more information about the ImageMagick, point your browser to file:///usr/share/doc/imagemagick/index.html or http://www.imagemag-
ick.org/.
SEE ALSO
convert(1), identify(1), composite(1), montage(1), compare(1), display(1), animate(1), import(1), conjure(1), quantize(5), miff(4)
COPYRIGHT
Copyright (C) 1999-2012 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see
file:///usr/share/doc/imagemagick/www/license.html or http://www.imagemagick.org/script/license.php
ImageMagick Date: 2009/01/10 01:00:00 ImageMagick(1)