10-15-2013
Thanks for your help hergp, that is exactly what I needed.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to concatenate files that are inside a directory and subdirectories. Those files end with .c
Can anyone help me
I am using comand 9find) and (cat) but they don't work together.:confused: (1 Reply)
Discussion started by: jalvarez
1 Replies
2. Shell Programming and Scripting
Hi all,
I'd very grateful for some help with the following.
I have a variable number of subdirectories each of which contain a uniquely names results file of the form Results*.dat.
I would like to search through all subdirectories and copy out these results file to another directory so that... (3 Replies)
Discussion started by: iomaire
3 Replies
3. UNIX for Dummies Questions & Answers
From the main directory, I have multiple layers of subdirectories and imbedded files (jpg's) that I would like to have a quiklook. Is there a way of listing out the contents of all of the subdirectories and files with a one-line command?
Thx... (3 Replies)
Discussion started by: kuciauskas
3 Replies
4. Shell Programming and Scripting
hi,
i want to display all subdirectory files with directory name.
I am using ls -Rl this will gives only filenames with long listing.
But i want the filename padded with directory name.
example :
-rw-r--r-- 1 sidfor sigbd 1713 May 24 09:33... (1 Reply)
Discussion started by: senthil_is
1 Replies
5. UNIX for Dummies Questions & Answers
hello there
the problem i got: i need to list .rrd files in each sub-directory from the parent directory, then create .xml files for each rrd files, the xml file should be in the same subdirectoryas rrd file.
i have tried
ls |awk '{print... (3 Replies)
Discussion started by: binbintriangel
3 Replies
6. UNIX for Dummies Questions & Answers
If I execute the command "ls -l /export/home/abcde/dev/proj/code/* | awk -F' ' '{print $9}' | cut -d'/' -f6-8" it will list all the files in /export/home/abcde/dev/proj/code/ directory as well as the files in subdirectories also
proj/code/test.sh
proj/code/test1.c
proj/code/unix... (8 Replies)
Discussion started by: shyjuezy
8 Replies
7. Shell Programming and Scripting
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
8. Shell Programming and Scripting
Hi frnds,
My requirement is I have a zip file with name say eg: test_ABC_UH_ccde2a_awdeaea_20150422.zip
within that there are subdirectories on each directory we again have .zip files and in that we have files like mama20150422.gz and so on.
Iam in need of a bash script so that it unzips... (0 Replies)
Discussion started by: Ravi Kishore
0 Replies
9. Shell Programming and Scripting
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies
10. UNIX for Beginners Questions & Answers
i use the split command to split a one terabyte backup file into 10 chunks of 100 GB each. The files are split one after the other. While the files is being split, I will like to scp the files one after the other as soon as the previous one completes, from server A to Server B. Then on server B ,... (2 Replies)
Discussion started by: malaika
2 Replies
LEARN ABOUT DEBIAN
graphicsmagick-config
GraphicsMagick-Config(1) General Commands Manual GraphicsMagick-Config(1)
NAME
GraphicsMagick-config - get information about the installed version of GraphicsMagick
SYNOPSIS
GraphicsMagick-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]
DESCRIPTION
GraphicsMagick-config prints the compiler and linker flags required to compile and link programs that use the GraphicsMagick Application
Programmer Interface.
EXAMPLES
To print the version of the installed distribution of GraphicsMagick, use:
GraphicsMagick-config --version
To compile a program that calls the GraphicsMagick Application Programmer Interface, use:
cc `GraphicsMagick-config --cflags --cppflags --ldflags --libs` program.c
OPTIONS
--cflags
Print the compiler flags that are needed to use the GraphicsMagick C interface. (Usually empty.)
--cppflags
Print the preprocessor flags that are needed to find the GraphicsMagick C include files and defines to ensure that the GraphicsMag-
ick data structures match between your program and the installed libraries.
--exec-prefix
Print the directory under which target specific binaries and executables are installed.
--ldflags
Print the linker flags that are needed to link with the GraphicsMagick library.
--libs Print the linker flags that are needed to link a program with libGraphicsMagick.
--version
Print the version of the GraphicsMagick distribution to standard output.
COPYRIGHT
Copyright (C) 2002 GraphicsMagick Group
Copyright (C) 2002 ImageMagick Studio
AUTHORS
Bob Friesenhahn
GraphicsMagick 4 December 2002 GraphicsMagick-Config(1)